]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: avoid compiler warning
authorEric Blake <eblake@redhat.com>
Tue, 20 Apr 2010 19:44:31 +0000 (13:44 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 20 Apr 2010 19:44:31 +0000 (13:44 -0600)
commit8f342c6f9a5935cc84d9b7c8eec095ca1de2dffb
treeb2d56e3fcc583870bbbea322a7e6856b787c02c0
parent8138ec8693ef6a00744ba74eeb8fd7fadc230589
build: avoid compiler warning

According to GCC, ATTRIBUTE_UNUSED means that an attribute _might_
be unused, not _must_ be unused.  Therefore, it is easier to
blindly mark a variable, than to try and do preprocessor limiting
of when we know it is unused.

* src/remote/remote_driver.c (remoteAuthenticate): Mark attribute
as potentially unused.
Reported by Gustovo Morozowski.
src/remote/remote_driver.c