X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/5e1b22d763640c4d7a09d07920403d8d491b4410..33cfd5887ea8d05241b5b4749abbf7fdfadb51fe:/splitkeys.c?ds=inline diff --git a/splitkeys.c b/splitkeys.c index fdc20a2..76aa4e4 100644 --- a/splitkeys.c +++ b/splitkeys.c @@ -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; - int result = 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 { - result = read_openpgp_stream(stdin_getchar, NULL, + read_openpgp_stream(stdin_getchar, NULL, &packets, maxkeys); if (packets != NULL) { list_end = packets;