-
Incident report
-
Resolution: Fixed
-
Minor
-
3.2.0alpha1
-
$ clang -v
Ubuntu clang version 3.4-1ubuntu3 (tags/RELEASE_34/final) (based on LLVM 3.4)
Target: x86_64-pc-linux-gnu
The attached patch fixes warnings regarding unused parameters by removing the parameters where possible or using the new ZBX_UNUSED macro where it's not possible (callbacks to libraries, proxy stub functions, etc.).
Configuration.
./configure --prefix=`pwd`/usr CC=clang CFLAGS="-Wall -Wextra -g" \ --enable-server --enable-proxy --enable-agent --enable-java --enable-ipv6 \ --with-mysql --with-jabber --with-libxml2 --with-net-snmp --with-unixodbc \ --with-ssh2 --with-openipmi --with-ldap --with-libcurl --with-iconv --with-openssl