Skip to content

Commit

Permalink
Remove unused case in create_task
Browse files Browse the repository at this point in the history
The reports table busy case is not used because only the
return value of copy_task is checked.
  • Loading branch information
timopollmeier committed Nov 13, 2023
1 parent 810a023 commit 91097a5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/gmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -22001,15 +22001,6 @@ gmp_xml_handle_end_element (/* unused */ GMarkupParseContext* context,
}
log_event_fail ("task", "Task", NULL, "created");
break;
case 3:
SENDF_TO_CLIENT_OR_FAIL(
"<create_task_response"
" status=\"%s\""
" status_text=\"%s\"/>",
STATUS_ERROR_BUSY,
"Reports database is busy. Please try again later.");
log_event_fail ("task", "Task", NULL, "created");
break;
case 99:
SEND_TO_CLIENT_OR_FAIL
(XML_ERROR_SYNTAX ("create_task",
Expand Down

0 comments on commit 91097a5

Please sign in to comment.