1. Ruslan Osmanov
  2. pecl-ev

Source

pecl-ev / embed.c

Diff from to

File embed.c

  • Ignore whitespace
 	o_loop_other   = (php_ev_object *) zend_object_store_get_object(loop_other TSRMLS_CC);
 	loop_other_ptr = PHP_EV_LOOP_FETCH_FROM_OBJECT(o_loop_other);
 
-	if (!(ev_backend(loop_other_ptr) & ev_embeddable_backends())) {
+	if (UNEXPECTED(!(ev_backend(loop_other_ptr) & ev_embeddable_backends()))) {
         php_error_docref(NULL TSRMLS_CC, E_WARNING,
         		"Passed loop is not embeddable. Check out your backends.");
         return;