diff --git a/lib/app_ipc.cpp b/lib/app_ipc.cpp index 7e0bbac6c1..7889cf5d3b 100644 --- a/lib/app_ipc.cpp +++ b/lib/app_ipc.cpp @@ -478,6 +478,7 @@ int boinc_resolve_filename( // If it's the XML tag, return its value, // otherwise, return the original file name // + // coverity[check_return] if (p) parse_str(buf, "", physical_name, len); return 0; } @@ -499,6 +500,7 @@ int boinc_resolve_filename_s(const char *virtual_name, string& physical_name) { buf[0] = 0; p = fgets(buf, 512, fp); fclose(fp); + // coverity[check_return] if (p) parse_str(buf, "", physical_name); return 0; }