Bug 491196 don't implement static functions in headers
commitb962ec4aa5132405fdad26e5a6a1804510263a8a
authortimeless@mozdev.org <timeless@mozdev.org>
Wed, 22 Jul 2009 22:31:03 +0000 (22 17:31 -0500)
committertimeless@mozdev.org <timeless@mozdev.org>
Wed, 22 Jul 2009 22:31:03 +0000 (22 17:31 -0500)
tree80beeaed06500caf74f80c56fb3c1948fb329258
parentbc38be4c95be75e4519c1b5fcb7b3bb253d511cd
Bug 491196 don't implement static functions in headers
r=sdwilsh
Moving JSValStorageStatementBinder to mozStoragePrivateHelpers as bindJSValue

storage/src/mozStorageStatementParams.h: At global scope:
storage/src/mozStorageStatementParams.h:78: warning: ‘PRBool mozilla::storage::JSValStorageStatementBinder(JSContext*, mozIStorageStatement*, int, jsval)’ defined but not used
storage/src/mozStorageStatementParams.h:78: warning: ‘PRBool mozilla::storage::JSValStorageStatementBinder(JSContext*, mozIStorageStatement*, int, jsval)’ defined but not used

You get this once for each file that includes a header that defines a static function which is not used in that file.
storage/src/mozStoragePrivateHelpers.cpp
storage/src/mozStoragePrivateHelpers.h
storage/src/mozStorageStatement.cpp
storage/src/mozStorageStatementParams.cpp
storage/src/mozStorageStatementParams.h
storage/src/mozStorageStatementWrapper.cpp
storage/test/unit/test_statement_wrapper_automatically.js
storage/test/unit/test_storage_statement_wrapper.js