mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-28 12:16:21 +00:00
Removed NULL checks when not required
This commit is contained in:
@@ -84,10 +84,8 @@ p_gpg_close(void)
|
|||||||
fpskeyfile = NULL;
|
fpskeyfile = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fpsloc) {
|
free(fpsloc);
|
||||||
free(fpsloc);
|
fpsloc = NULL;
|
||||||
fpsloc = NULL;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -178,10 +176,8 @@ p_gpg_on_disconnect(void)
|
|||||||
fpskeyfile = NULL;
|
fpskeyfile = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fpsloc) {
|
free(fpsloc);
|
||||||
free(fpsloc);
|
fpsloc = NULL;
|
||||||
fpsloc = NULL;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
|
|||||||
Reference in New Issue
Block a user