removed printf causing warning when compiling with clang