[#2014] fix errors introduced by cppcheck fix
[#2014] fix errors introduced by cppcheck fix

leesab/irods,PaulVanSchayck/irods,leesab/irods,janiheikkinen/irods,PaulVanSchayck/irods,leesab/irods,janiheikkinen/irods,leesab/irods,PaulVanSchayck/irods,PaulVanSchayck/irods,PaulVanSchayck/irods,janiheikkinen/irods,leesab/irods,PaulVanSchayck/irods,leesab/irods,PaulVanSchayck/irods,PaulVanSchayck/irods,janiheikkinen/irods,janiheikkinen/irods,janiheikkinen/irods,leesab/irods,janiheikkinen/irods,PaulVanSchayck/irods,janiheikkinen/irods,janiheikkinen/irods