various: silence gcc warnings

AFAICT, gcc is just being stupid in all those cases.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-04-01 12:02:25 +02:00
parent 1f8fb21c42
commit aff81b1851
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ int efi_get_variable(
_cleanup_free_ char *p = NULL;
_cleanup_free_ void *buf = NULL;
struct stat st;
usec_t begin;
usec_t begin = 0; /* Unnecessary initialization to appease gcc */
uint32_t a;
ssize_t n;