simplify falsy comparisons
[awesomized/libmemcached] / src / libmemcached / io.cc
index 8e5d93b7f84b4c5527f5198e120247692821d68c..27b5ecbd0f244064a743150e71bf4b925223cd72 100644 (file)
@@ -101,7 +101,7 @@ static bool process_input_buffer(memcached_instance_st *instance) {
    ** We might be able to process some of the response messages if we
    ** have a callback set up
    */
-  if (instance->root->callbacks != NULL) {
+  if (instance->root->callbacks) {
     /*
      * We might have responses... try to read them out and fire
      * callbacks