]> git.proxmox.com Git - mirror_lxc.git/commit
fix compilation warnings
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 1 Jun 2010 10:13:32 +0000 (12:13 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 1 Jun 2010 10:13:32 +0000 (12:13 +0200)
commit0e391e57b0e463720b956cf0fa515e861027c4b0
tree8cefa41fdbf0b8a0e4a66b46abc5f7f1cec15736
parent196f1d54cef61534e6f98a47956cc87bffb6152e
fix compilation warnings

Fix the following warnings:

console.c: In function ‘console_handler’:
console.c:252: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
console.c:254: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
conf.c: In function ‘instanciate_veth’:
conf.c:1130: warning: ignoring return value of ‘mktemp’, declared with attribute warn_unused_result
conf.c:1135: warning: ignoring return value of ‘mktemp’, declared with attribute warn_unused_result
conf.c: In function ‘instanciate_macvlan’:
conf.c:1206: warning: ignoring return value of ‘mktemp’, declared with attribute warn_unused_result
af_unix.c: In function ‘lxc_af_unix_send_fd’:
af_unix.c:124: warning: dereferencing type-punned pointer will break strict-aliasing rules
af_unix.c: In function ‘lxc_af_unix_recv_fd’:
af_unix.c:169: warning: dereferencing type-punned pointer will break strict-aliasing rules
af_unix.c: In function ‘lxc_af_unix_send_credential’:
af_unix.c:195: warning: dereferencing type-punned pointer will break strict-aliasing rules
af_unix.c: In function ‘lxc_af_unix_rcv_credential’:
af_unix.c:237: warning: dereferencing type-punned pointer will break strict-aliasing rules

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/af_unix.c
src/lxc/conf.c
src/lxc/console.c