diff options
author | Ben Laurie <ben@openssl.org> | 2008-10-18 12:12:34 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2008-10-18 12:12:34 +0000 |
commit | d764e7edb86dd2d9abc5db528408adb6cd789bed (patch) | |
tree | d0df3f076e4330ae8356b1b0446452348d553905 /crypto | |
parent | aff8259510d3712d44ddd631a295f8c66dbc7547 (diff) |
Fix warning a different way.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/objects/objects.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/objects/objects.h b/crypto/objects/objects.h index ecbe03c2d9..55f65f29ce 100644 --- a/crypto/objects/objects.h +++ b/crypto/objects/objects.h @@ -1071,15 +1071,15 @@ const void * OBJ_bsearch_ex_(const void *key,const void *base,int num, #define OBJ_bsearch(type1,key,type2,base,num,cmp) \ ((type2 *)OBJ_bsearch_(CHECKED_PTR_OF(type1,key),CHECKED_PTR_OF(type2,base), \ num,sizeof(type2), \ - (cmp##_type_1=CHECKED_PTR_OF(type1,cmp##_type_1), \ - cmp##_type_2=CHECKED_PTR_OF(type2,cmp##_type_2), \ + ((void)CHECKED_PTR_OF(type1,cmp##_type_1), \ + (void)CHECKED_PTR_OF(type2,cmp##_type_2), \ cmp##_BSEARCH_CMP_FN))) #define OBJ_bsearch_ex(type1,key,type2,base,num,cmp,flags) \ ((type2 *)OBJ_bsearch_(CHECKED_PTR_OF(type1,key),CHECKED_PTR_OF(type2,base), \ num,sizeof(type2), \ - (cmp##_type_1=CHECKED_PTR_OF(type1,cmp##_type_1), \ - cmp##_type_2=CHECKED_PTR_OF(type2,cmp##_type_2), \ + ((void)CHECKED_PTR_OF(type1,cmp##_type_1), \ + (void)type_2=CHECKED_PTR_OF(type2,cmp##_type_2), \ cmp##_BSEARCH_CMP_FN)),flags) int OBJ_new_nid(int num); |