Просмотр исходного кода

Merge trunk revision 2832:
r2832 | asalkeld | 2010-05-16 14:25:33 -0700 (Sun, 16 May 2010) | 5 lines

cov 10400: unit'ed variable.

not important, easy to fix.



git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2874 fd59a12c-fef9-0310-b244-a6a79926bd2f

Steven Dake 15 лет назад
Родитель
Сommit
3992996e04
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      exec/coropoll.c

+ 1 - 1
exec/coropoll.c

@@ -252,7 +252,7 @@ int poll_dispatch_modify (
 			poll_instance->poll_entries[i].ufd.events = events;
 			poll_instance->poll_entries[i].dispatch_fn = dispatch_fn;
 			if (change_notify) {
-				char buf;
+				char buf = 1;
 				write (poll_instance->pipefds[1], &buf, 1);
 			}