Fix warnings shown by cppcheck for wrt-commons
authorGrzegorz Rynkowski <g.rynkowski@samsung.com>
Wed, 20 Feb 2013 14:31:15 +0000 (15:31 +0100)
committerGerrit Code Review <gerrit2@kim11>
Tue, 26 Feb 2013 16:39:27 +0000 (01:39 +0900)
commit237d0a8db3e70c68d48dda0c4e31ada73e070f19
tree561f4dc4cd3b24361a18c9a2336fe6229b4ce139
parent02b6a20745283e79a0320f8d9dd8214992427fbf
Fix warnings shown by cppcheck for wrt-commons

[Issue#] LINUXWRT-126
[Problem] Cppcheck appears some warnings for wrt-commons.
[Cause] Incorrect code.

[Solution] Make some changes(not 3rdparty).

[Verification] Run cppcheck on wrt-plugins-common (with
--suppress=incorrectStringBooleanError) or check cppcheck.txt generated by build
bot (ignore warnigs like "A boolean comparison with the string literal ...
is always true"). Ignore warnings about 3rdparty.

Change-Id: I150192e3f096307bf1a4a4cc2a12f6cf0c787d11
16 files changed:
examples/fake_rpc/fake_rpc.cpp
modules/db/src/naive_synchronization_object.cpp
modules/localization/src/LanguageTagsProvider.cpp
modules/test/src/test_results_collector.cpp
modules/utils/src/file_utils.cpp
modules/utils/src/wrt_global_settings.cpp
modules/widget_dao/dao/widget_dao.cpp
modules/widget_dao/dao/widget_dao_read_only.cpp
tests/core/test_fast_delegate.cpp
tests/core/test_serialization.cpp
tests/dao/TestCases_PluginDAO.cpp
tests/db/test_orm.cpp
tests/event/test_controller.cpp
tests/unused/test_shm.cpp
tests/unused/test_sql_connection.cpp
tests/utils/wrt_utility.cpp