1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Removed NULL checks when not required

This commit is contained in:
James Booth 2015-06-24 19:19:44 +01:00
parent 17919298f7
commit ac454fb1cc

View File

@ -84,10 +84,8 @@ p_gpg_close(void)
fpskeyfile = NULL;
}
if (fpsloc) {
free(fpsloc);
fpsloc = NULL;
}
}
void
@ -178,10 +176,8 @@ p_gpg_on_disconnect(void)
fpskeyfile = NULL;
}
if (fpsloc) {
free(fpsloc);
fpsloc = NULL;
}
}
gboolean