commit | f1970c48ef06ece4e23765501976507ab52b0edd | [log] [tgz] |
---|---|---|
author | Felipe Contreras <felipe.contreras@gmail.com> | Mon Oct 19 01:54:29 2009 +0300 |
committer | Jiri Kosina <jkosina@suse.cz> | Fri Dec 04 15:39:49 2009 +0100 |
tree | b8db16b9b697a3cc33f69ceaf7998c4ad3576e9c | |
parent | e9de25dda359c9272998daddeae7788376a44e41 [diff] |
ipc: fix unused variable warning Commit a0d092f introduced the following warning: ipc/msg.c: In function ?msgctl_down?: ipc/msg.c:415: warning: ?msqid64? may be used uninitialized in this function The gcc warning in this case is actually bogus, as msqid64 is touched only iff cmd == IPC_SET, and in such case, copy_msqid_from_user() initializes it properly. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>