]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Remove unused 'buf' in shadow.c 247/head
authorMichael Vetter <jubalh@iodoru.org>
Sat, 25 Apr 2020 10:23:10 +0000 (12:23 +0200)
committerMichael Vetter <jubalh@iodoru.org>
Sat, 25 Apr 2020 10:23:10 +0000 (12:23 +0200)
lib/shadow.c

index 08d2c94c6a67e31291c8206fc28d7b3d0810cf99..e743b2ce37d5e1234d417faa807cefaa23f767c3 100644 (file)
@@ -388,7 +388,6 @@ struct spwd *getspent (void)
 #ifdef USE_NIS
        int nis_1_user = 0;
        struct spwd *val;
-       char buf[BUFSIZ];
 #endif
        if (NULL == shadow) {
                setspent ();
@@ -483,7 +482,6 @@ struct spwd *getspnam (const char *name)
        struct spwd *sp;
 
 #ifdef USE_NIS
-       char buf[BUFSIZ];
        static char save_name[16];
        bool nis_disabled = false;
 #endif