diff options
| author | Peter Powell <petpow@saberuk.com> | 2015-07-07 23:49:53 +0100 |
|---|---|---|
| committer | Peter Powell <petpow@saberuk.com> | 2015-07-07 23:49:53 +0100 |
| commit | 7a15dd936f876882999a18117937d2eeef2e7dc0 (patch) | |
| tree | 4de83e16dd98be6a23e2a451fe3fd798de58c09a /include/modules | |
| parent | 4929e5d108e54a8313f539892b884131bc6456c1 (diff) | |
Fix various Clang compiler warnings.
include/modules/sql.h:103:10: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
modules/database/db_sql.cpp:273:15: warning: declaration shadows a local variable [-Wshadow]
modules/pseudoclients/chanserv/chanserv.cpp:319:150: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
modules/pseudoclients/chanserv/chanserv.cpp:329:80: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
Diffstat (limited to 'include/modules')
| -rw-r--r-- | include/modules/sql.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules/sql.h b/include/modules/sql.h index 826219b53..49c92ccd0 100644 --- a/include/modules/sql.h +++ b/include/modules/sql.h @@ -100,7 +100,7 @@ namespace SQL inline operator bool() const { return this->error.empty(); } - inline const unsigned int GetID() const { return this->id; } + inline unsigned int GetID() const { return this->id; } inline const Query &GetQuery() const { return this->query; } inline const Anope::string &GetError() const { return this->error; } |
