summaryrefslogtreecommitdiff
path: root/src/scratchtoolpp.cc
Commit message (Collapse)AuthorAgeFilesLines
* scratchtoolpp.cc: print some more resultsDanny Al-Gaaf2013-02-141-2/+3
| | | | | | | | | | | | | Print some more results to fix issue found by cppcheck: [src/scratchtoolpp.cc:111] -> [src/scratchtoolpp.cc:114]: (performance) Variable 'r' is reassigned a value before the old one has been used. [src/scratchtoolpp.cc:207] -> [src/scratchtoolpp.cc:208]: (performance) Variable 'r' is reassigned a value before the old one has been used. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
* scratchtool[pp]: fix rados_conf_set/get test of log_to_stderrSage Weil2011-10-221-1/+1
| | | | | | | | | | Fix this warning warning: scratchtool.c:142: comparison with string literal results in unspecified behavior and flips the logic. Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
* config: separate --log-to-stderr and --err-to-stderrSage Weil2011-10-211-2/+2
| | | | | | | Instead of having magic values (1 == errors only to stderr, 2 = everything), have two booleans. Signed-off-by: Sage Weil <sage@newdream.net>
* scratchtool: not a test suiteYehuda Sadeh2011-08-191-0/+314