Fix a gcc warning seen in Chromium OS build.
authorYusuke Sato <yusukes@chromium.org>
Wed, 12 Jan 2011 13:44:08 +0000 (22:44 +0900)
committerYusuke Sato <yusukes@chromium.org>
Wed, 12 Jan 2011 13:44:08 +0000 (22:44 +0900)
commitca4909cc8349a9931958c3010f965cf19bf23cd7
tree6a810e9fdadfce5257d35ddef005fcfcc4d4dc7e
parent199f80396f2c3db4953bac36c953742ece2d2270
Fix a gcc warning seen in Chromium OS build.

Please note that gcc's warn_unused_result check is enforced on the build environment. Anyway, I believe it's good to check the return value in this case.

BUG=none
TEST=ran emerge-x86-generic ibus.

Review URL: http://codereview.appspot.com/3904044
bus/registry.c