X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/5e1b22d763640c4d7a09d07920403d8d491b4410..666b0d041ecf22f2b4936d3b04a98e5807f55877:/splitkeys.c 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;