mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-28 23:27:45 +00:00
fix some compiler warnings
This commit is contained in:
parent
7d89b57242
commit
8f584177d7
2 changed files with 2 additions and 2 deletions
|
@ -207,7 +207,7 @@ boost::shared_ptr< Mysql::PreparedStatement > Core::Db::DbConnection::getPrepare
|
|||
assert( index < m_stmts.size() );
|
||||
auto ret = m_stmts[ index ];
|
||||
if( !ret )
|
||||
nullptr;
|
||||
return nullptr;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ public:
|
|||
void spawn( PlayerPtr pTarget ) override;
|
||||
|
||||
uint16_t getModelChara() const;
|
||||
uint8_t getLevel() const;
|
||||
uint8_t getLevel() const override;
|
||||
|
||||
uint32_t getBNpcBaseId() const;
|
||||
uint32_t getBNpcNameId() const;
|
||||
|
|
Loading…
Add table
Reference in a new issue