commit | 5ec2d09b84d8ea77c67ac0b9ea44c0590d252ad3 | [log] [tgz] |
---|---|---|
author | Steve Kondik <shade@chemlab.org> | Sat Jul 08 02:06:16 2017 -0700 |
committer | Steve Kondik <shade@chemlab.org> | Mon Jul 10 09:14:43 2017 -0700 |
tree | 8b996b672ae85f489c062962590c279b37171ec6 | |
parent | ff69074635de8690b17f9ed90b8a6188ebb6176f [diff] |
rfb: Silence nonliteral format string warning in Logger Clang complains loudly about this with Wformat=2, so add a __printf_attr to help out. Fixes: /home/shade/dev/tigervnc/common/rfb/Logger.cxx:48:35: error: format string is not a string literal [-Werror,-Wformat-nonliteral] vsnprintf(buf1, sizeof(buf1)-1, format, ap); ^~~~~~ 1 error generated.