projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused variables
[onak.git]
/
photoid.c
diff --git
a/photoid.c
b/photoid.c
index 8da62cee2ff723fcb0d500446828d4b48d566b03..dd28753e49f6dfd4ef6e82b7b395e87069d535e9 100644
(file)
--- a/
photoid.c
+++ b/
photoid.c
@@
-4,11
+4,8
@@
* Jonathan McDowell <noodles@earth.li>
*
* Copyright 2004 Project Purple
* Jonathan McDowell <noodles@earth.li>
*
* Copyright 2004 Project Purple
- *
- * $Id: photoid.c,v 1.2 2004/05/27 21:58:18 noodles Exp $
*/
*/
-#include <assert.h>
#include <inttypes.h>
#include <stdbool.h>
#include <stdio.h>
#include <inttypes.h>
#include <stdbool.h>
#include <stdio.h>
@@
-39,9
+36,9
@@
int getphoto(struct openpgp_publickey *key, int index, unsigned char **photo,
int i = 0;
int j = 0;
int i = 0;
int j = 0;
- assert(key != NULL);
- assert(photo != NULL);
- assert(length != NULL);
+
log_
assert(key != NULL);
+
log_
assert(photo != NULL);
+
log_
assert(length != NULL);
*photo = NULL;
*photo = NULL;