suppress compiler warnings caused by json-c loops