summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c729b95)
GCC 4.6 now errors when a variable is set but not used; clean up
instances of this to fix compilation.
struct openpgp_packet_list *list_end = NULL;
struct stats_key *keyinfoa, *keyinfob, *curkey;
uint64_t fullhave, fullwant;
struct openpgp_packet_list *list_end = NULL;
struct stats_key *keyinfoa, *keyinfob, *curkey;
uint64_t fullhave, fullwant;
int pathlen = 0;
fullhave = config.dbbackend->getfullkeyid(have);
int pathlen = 0;
fullhave = config.dbbackend->getfullkeyid(have);
* Fill the tree info up.
*/
initcolour(true);
* Fill the tree info up.
*/
initcolour(true);
- rec = findpath(keyinfoa, keyinfob);
+ findpath(keyinfoa, keyinfob);
keyinfob->parent = 0;
if (keyinfoa->colour == 0) {
pathlen = count;
keyinfob->parent = 0;
if (keyinfoa->colour == 0) {
pathlen = count;
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 maxkeys = 10000;
int outfd = -1;
int count = 0;
int maxkeys = 10000;
int outfd = -1;
int count = 0;
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;
struct openpgp_signedpacket_list *uid = NULL;
struct openpgp_packet_list *sig = NULL;
struct openpgp_packet_list *prevsig = NULL;
struct openpgp_signedpacket_list *uid = NULL;
struct openpgp_packet_list *sig = NULL;
struct openpgp_packet_list *prevsig = NULL;
uint64_t my_key = 0;
if( argc > 1 )
uint64_t my_key = 0;
if( argc > 1 )
/* strip each key of everything but its pubkey component, uids and
* selfsigs and revsigs on those selfsigs */
/* strip each key of everything but its pubkey component, uids and
* selfsigs and revsigs on those selfsigs */
- result = read_openpgp_stream( stdin_getchar, NULL, &packets, 0 );
- result = parse_keys( packets, &keys );
+ read_openpgp_stream( stdin_getchar, NULL, &packets, 0 );
+ parse_keys( packets, &keys );
free_packet_list(packets);
packets = NULL;
free_packet_list(packets);
packets = NULL;
- result = cleankeys( keys );
/* Iterate over the keys... */
for( key = keys; key; key = key->next ) {
uint64_t keyid = get_keyid( key );
/* Iterate over the keys... */
for( key = keys; key; key = key->next ) {
uint64_t keyid = get_keyid( key );