]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - splitkeys.c
Clean up "set but not used" GCC warnings
[onak.git] / splitkeys.c
index fdc20a288dfb1250a5ce218ab647714fc495d98d..76aa4e4b9a439040c94e3e74bf54c7d667404352 100644 (file)
@@ -36,7 +36,6 @@ int main(int argc, char *argv[])
        struct openpgp_packet_list      *packets = NULL;
        struct openpgp_packet_list      *list_end = NULL;
        struct openpgp_packet_list      *tmp = NULL;
        struct openpgp_packet_list      *packets = NULL;
        struct openpgp_packet_list      *list_end = NULL;
        struct openpgp_packet_list      *tmp = NULL;
-       int                              result = 0;
        int                              maxkeys = 10000;
        int                              outfd = -1;
        int                              count = 0;
        int                              maxkeys = 10000;
        int                              outfd = -1;
        int                              count = 0;
@@ -56,7 +55,7 @@ int main(int argc, char *argv[])
        initlogthing("splitkeys", config.logfile);
 
        do {
        initlogthing("splitkeys", config.logfile);
 
        do {
-               result = read_openpgp_stream(stdin_getchar, NULL,
+               read_openpgp_stream(stdin_getchar, NULL,
                                 &packets, maxkeys);
                if (packets != NULL) {
                        list_end = packets;
                                 &packets, maxkeys);
                if (packets != NULL) {
                        list_end = packets;