]> git.sur5r.net Git - openldap/blobdiff - contrib/slapd-modules/noopsrch/noopsrch.c
ITS#7998 silence warning
[openldap] / contrib / slapd-modules / noopsrch / noopsrch.c
index d659f3097aac836980f56b1934219b1c8658c104..a3d53e664ed39133f1e1c6673af728ca3de7c591 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2010-2013 The OpenLDAP Foundation.
+ * Copyright 2010-2014 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -139,9 +139,8 @@ noopsrch_response( Operation *op, SlapReply *rs )
                ctrlsp[0] = ctrl;
                ctrlsp[1] = NULL;
                slap_add_ctrls( op, rs, ctrlsp );
-
-               return SLAP_CB_CONTINUE;
        }
+       return SLAP_CB_CONTINUE;
 }
 
 static int