svn commit: r270019 - head/sbin/devd/tests

Bjoern A. Zeeb bz at FreeBSD.org
Fri Aug 15 10:01:34 UTC 2014


Author: bz
Date: Fri Aug 15 10:01:33 2014
New Revision: 270019
URL: http://svnweb.freebsd.org/changeset/base/270019

Log:
  Remove bogus ; at the end of the if condition in order to unbreak gcc builds
  after r270004.
  
  MFC after:	4 days
  X-MFX with:	r270004

Modified:
  head/sbin/devd/tests/client_test.c

Modified: head/sbin/devd/tests/client_test.c
==============================================================================
--- head/sbin/devd/tests/client_test.c	Fri Aug 15 09:50:09 2014	(r270018)
+++ head/sbin/devd/tests/client_test.c	Fri Aug 15 10:01:33 2014	(r270019)
@@ -168,11 +168,11 @@ ATF_TC_BODY(stream, tc)
 		printf("%s", event);
 
 		create_pos = strstr(event, create_pat);
-		if (create_pos != NULL);
+		if (create_pos != NULL)
 			got_create_event = true;
 
 		destroy_pos = strstr(event, destroy_pat);
-		if (destroy_pos != NULL);
+		if (destroy_pos != NULL)
 			got_destroy_event = true;
 
 	}


More information about the svn-src-head mailing list