Skip to content
Snippets Groups Projects
Commit d3cb96de authored by Ali Mohammed's avatar Ali Mohammed
Browse files

Warn about existing pending entries

parent bf287c6c
No related branches found
No related tags found
No related merge requests found
Pipeline #126955 canceled
......@@ -257,8 +257,7 @@ mstro_pc_app_register_pending(mstro_app_id id)
/**check there is no other entry before*/
HASH_FIND(hh, g_mstro_pm_app_registry, &id, sizeof(mstro_app_id), elt);
if((elt!=NULL) && (elt->pending)) {
//FIXME should be a warning as we can handle this
ERR("There is alreading a pending entry for app %"PRIappid", should not overwrite \n", id);
WARN("There is alreading a pending entry for app %"PRIappid", should not overwrite \n", id);
/*cleanup*/
status = mstro_pm_app_reg__entry_dispose(e);
assert(status ==MSTRO_OK);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment