src/dbimg/imginterface.cpp:83:17: style: Variable 'img' can be declared as pointer to const [constVariablePointer]
DBIMG::Img* img = DBIMG::get_img( url );
^
src/dbimg/imginterface.cpp:99:17: style: Variable 'img' can be declared as pointer to const [constVariablePointer]
DBIMG::Img* img = DBIMG::get_img( url );
^
src/dbimg/imginterface.cpp:156:17: style: Variable 'img' can be declared as pointer to const [constVariablePointer]
DBIMG::Img* img = DBIMG::get_img( url );
^
src/dbimg/imginterface.cpp:164:17: style: Variable 'img' can be declared as pointer to const [constVariablePointer]
DBIMG::Img* img = DBIMG::get_img( url );
^
src/dbimg/imginterface.cpp:172:17: style: Variable 'img' can be declared as pointer to const [constVariablePointer]
DBIMG::Img* img = DBIMG::get_img( url );
^
src/dbimg/imginterface.cpp:180:17: style: Variable 'img' can be declared as pointer to const [constVariablePointer]
DBIMG::Img* img = DBIMG::get_img( url );
^
src/dbimg/imginterface.cpp:203:17: style: Variable 'img' can be declared as pointer to const [constVariablePointer]
DBIMG::Img* img = DBIMG::get_img( url );
^
src/dbimg/imginterface.cpp:227:17: style: Variable 'img' can be declared as pointer to const [constVariablePointer]
DBIMG::Img* img = DBIMG::get_img( url );
^
src/dbimg/imginterface.cpp:249:17: style: Variable 'img' can be declared as pointer to const [constVariablePointer]
DBIMG::Img* img = DBIMG::get_img( url );
^
src/dbimg/imginterface.cpp:264:17: style: Variable 'img' can be declared as pointer to const [constVariablePointer]
DBIMG::Img* img = DBIMG::get_img( url );
^
src/dbimg/imginterface.cpp:279:17: style: Variable 'img' can be declared as pointer to const [constVariablePointer]
DBIMG::Img* img = DBIMG::get_img( url );
^
src/dbimg/imginterface.cpp:302:17: style: Variable 'img' can be declared as pointer to const [constVariablePointer]
DBIMG::Img* img = DBIMG::get_img( url );
^
src/dbimg/imginterface.cpp:309:17: style: Variable 'img' can be declared as pointer to const [constVariablePointer]
DBIMG::Img* img = DBIMG::get_img( url );
^
ローカルのポインター変数にconstを付けられるとcppcheckに指摘されたため修正します。
cppcheck 2.11.1のレポート