Skip to content

Commit

Permalink
return NULL is clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
slyphon committed May 9, 2012
1 parent 0936eee commit 0e18f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/zookeeper_lib.c
Expand Up @@ -79,7 +79,7 @@ void zkrb_enqueue(zkrb_queue_t *q, zkrb_event_t *elt) {
zkrb_event_t * zkrb_peek(zkrb_queue_t *q) {
zkrb_event_t *event = NULL;

if (!q) return event;
if (!q) return NULL;

pthread_mutex_lock(&q->mutex);

Expand Down

0 comments on commit 0e18f79

Please sign in to comment.