------------------------------------------------------------
revno: 1574
committer: James Hunt <[email protected]>
branch nick: upstart
timestamp: Mon 2013-11-18 10:15:36 +0000
message:
  * init/tests/test_state.c: Remove unused variables to make test compile
    in strict mode.
modified:
  init/tests/test_state.c


--
lp:upstart
https://code.launchpad.net/~upstart-devel/upstart/trunk

Your team Upstart Reviewers is subscribed to branch lp:upstart.
To unsubscribe from this branch go to 
https://code.launchpad.net/~upstart-devel/upstart/trunk/+edit-subscription
=== modified file 'init/tests/test_state.c'
--- init/tests/test_state.c	2013-11-15 23:25:30 +0000
+++ init/tests/test_state.c	2013-11-18 10:15:36 +0000
@@ -2045,10 +2045,7 @@
 	pid_t            pid;
 	int              wait_fd;
 	int              fd;
-	struct stat      statbuf;
-	mode_t           old_perms;
 	int              status;
-	int              got;
 
 	conf_init ();
 	nih_io_init ();
@@ -2107,7 +2104,6 @@
 	TEST_FALSE (NIH_LIST_EMPTY (nih_io_watches));
 
 	TEST_CHILD_WAIT (pid, wait_fd) {
-		char    buf[1];
 
 		close (pty_master);
 

-- 
upstart-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Reply via email to