]> rtime.felk.cvut.cz Git - arc.git/commitdiff
Changed Dem_SetEventStatus return code when DEM_DEV_ERROR_DETECT is STD_OFF to E_NOT_OK.
authorpete <devnull@localhost>
Thu, 20 May 2010 08:56:57 +0000 (10:56 +0200)
committerpete <devnull@localhost>
Thu, 20 May 2010 08:56:57 +0000 (10:56 +0200)
diagnostic/Dem/Dem.c

index 96a95759413afce8c92c14df094b35b917a7797a..40623e3d07d4664dc310ac506203a1574ca1d69a 100644 (file)
@@ -1418,8 +1418,8 @@ Std_ReturnType Dem_SetEventStatus(Dem_EventIdType eventId, Dem_EventStatusType e
        {
 #if (DEM_DEV_ERROR_DETECT == STD_ON)
                Det_ReportError(MODULE_ID_DEM, 0, DEM_SETEVENTSTATUS_ID, DEM_E_UNINIT);
-               returnCode = E_NOT_OK;
 #endif
+               returnCode = E_NOT_OK;
        }
 
        return returnCode;