aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-14 11:22:35 +0200
committerMatthias Bolte <matthias.bolte@googlemail.com>2011-04-14 19:09:12 +0200
commit454e50beeecb3a40ee4d71c9ce82d5a006ae0f8a (patch)
treefdd11f06fec7a138cb8cae0123be6fb0865de867 /.mailmap
parentIntroduce virDomainChrDefNew() (diff)
downloadlibvirt-454e50beeecb3a40ee4d71c9ce82d5a006ae0f8a.tar.gz
libvirt-454e50beeecb3a40ee4d71c9ce82d5a006ae0f8a.tar.bz2
libvirt-454e50beeecb3a40ee4d71c9ce82d5a006ae0f8a.zip
Fix gcc 4.6 warnings
gcc 4.6 warns when a variable is initialized but isn't used afterwards: vmware/vmware_driver.c:449:18: warning: variable 'vmxPath' set but not used [-Wunused-but-set-variable] This patch fixes these warnings. There are still 2 offending files: - vbox_tmpl.c: the variable is used inside an #ifdef and is assigned several times outside of #ifdef. Fixing the warning would have required wrapping all the assignment inside #ifdef which hurts readability. vbox/vbox_tmpl.c: In function 'vboxAttachDrives': vbox/vbox_tmpl.c:3918:22: warning: variable 'accessMode' set but not used [-Wunused-but-set-variable] - esx_vi_types.generated.c: the name implies it's generated code and I didn't want to dive into the code generator esx/esx_vi_types.generated.c: In function 'esxVI_FileQueryFlags_Free': esx/esx_vi_types.generated.c:1203:3: warning: variable 'item' set but not used [-Wunused-but-set-variable]
Diffstat (limited to '.mailmap')
-rw-r--r--.mailmap1
1 files changed, 1 insertions, 0 deletions
diff --git a/.mailmap b/.mailmap
index 88dd435b1..8f37f7800 100644
--- a/.mailmap
+++ b/.mailmap
@@ -14,3 +14,4 @@
<jclift@redhat.com> <justin@salasaga.org>
<berrange@redhat.com> <dan@berrange.com>
<soren@linux2go.dk> <soren@canonical.com>
+<cfergeau@redhat.com> <teuf@gnome.org>