projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Since return is inconsistent, I removed unnecessary parentheses and
[openssl.git]
/
crypto
/
txt_db
/
txt_db.c
diff --git
a/crypto/txt_db/txt_db.c
b/crypto/txt_db/txt_db.c
index cf932a52aa6525a390f7a3b7b40604be29b2e083..a4d775c1a6988a8fda953334563a733a32df3896 100644
(file)
--- a/
crypto/txt_db/txt_db.c
+++ b/
crypto/txt_db/txt_db.c
@@
-184,7
+184,7
@@
int TXT_DB_create_index(TXT_DB *db, int field, int (*qual) (OPENSSL_STRING *),
lh_OPENSSL_STRING_free(db->index[field]);
db->index[field] = idx;
db->qual[field] = qual;
lh_OPENSSL_STRING_free(db->index[field]);
db->index[field] = idx;
db->qual[field] = qual;
- return
(1)
;
+ return
1
;
}
long TXT_DB_write(BIO *out, TXT_DB *db)
}
long TXT_DB_write(BIO *out, TXT_DB *db)
@@
-264,7
+264,7
@@
int TXT_DB_insert(TXT_DB *db, OPENSSL_STRING *row)
}
if (!sk_OPENSSL_PSTRING_push(db->data, row))
goto err1;
}
if (!sk_OPENSSL_PSTRING_push(db->data, row))
goto err1;
- return
(1)
;
+ return
1
;
err1:
db->error = DB_ERROR_MALLOC;
err1:
db->error = DB_ERROR_MALLOC;