]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
homework: drop unnecessary initialization
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 25 Nov 2021 15:09:30 +0000 (00:09 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 25 Nov 2021 15:09:30 +0000 (00:09 +0900)
src/home/homework-password-cache.c

index c1606c5f5f191db326ba02b9f597171bdf31a510..1133ab24b829814d8934ff63f4db58191fe1f9f3 100644 (file)
@@ -16,7 +16,7 @@ void password_cache_free(PasswordCache *cache) {
 void password_cache_load_keyring(UserRecord *h, PasswordCache *cache) {
         _cleanup_(erase_and_freep) void *p = NULL;
         _cleanup_free_ char *name = NULL;
-        char **strv = NULL;
+        char **strv;
         key_serial_t serial;
         size_t sz;
         int r;