Remove a volatile qualifier on return type that is ignored and results in
a -Wreturn-type warning when compiled with gcc.