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,11 +84,9 @@ p_gpg_close(void)
fpskeyfile = NULL;
}
if (fpsloc) {
free(fpsloc);
fpsloc = NULL;
}
}
void
p_gpg_on_connect(const char * const barejid)
@@ -178,11 +176,9 @@ p_gpg_on_disconnect(void)
fpskeyfile = NULL;
}
if (fpsloc) {
free(fpsloc);
fpsloc = NULL;
}
}
gboolean
p_gpg_addkey(const char * const jid, const char * const keyid)