Browse Source

Remove superfluous test for == NULL, when variable has been used, anyway

master
Dirk Engling 13 years ago
parent
commit
bd44fd7c4d
  1. 2
      trackerlogic.h

2
trackerlogic.h

@ -98,7 +98,7 @@ struct ot_peerlist {
*/
ot_vector peers;
};
#define OT_PEERLIST_HASBUCKETS(peer_list) ((peer_list) && ((peer_list)->peers.size > (peer_list)->peers.space))
#define OT_PEERLIST_HASBUCKETS(peer_list) ((peer_list)->peers.size > (peer_list)->peers.space)
struct ot_workstruct {
/* Thread specific, static */

Loading…
Cancel
Save