]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
installer: Remove unused variable.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 21 Jul 2014 12:03:16 +0000 (14:03 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 21 Jul 2014 12:03:16 +0000 (14:03 +0200)
src/install+setup/install/main.c

index 91a6c943cc6c13711798299d7958e198a9129fc8..17a410793c2126890760a0b4afebde3ab4e596dc 100644 (file)
@@ -160,7 +160,6 @@ int main(int argc, char *argv[]) {
        char message[STRING_SIZE];
        char title[STRING_SIZE];
        int allok = 0;
-       struct keyvalue *ethernetkv = initkeyvalues();
        FILE *handle, *cmdfile, *copying;
        char line[STRING_SIZE];
                
@@ -571,8 +570,6 @@ EXIT:
 
        if (!(allok))
                newtWinMessage(title, ctr[TR_OK], ctr[TR_PRESS_OK_TO_REBOOT]);  
-       
-       freekeyvalues(ethernetkv);
 
        if (allok) {
                fflush(flog);