diff --git a/modules/es/fsw/src/cfe_es_cds.c b/modules/es/fsw/src/cfe_es_cds.c index f173dec77..0b4231b9e 100644 --- a/modules/es/fsw/src/cfe_es_cds.c +++ b/modules/es/fsw/src/cfe_es_cds.c @@ -426,7 +426,7 @@ int32 CFE_ES_RegisterCDSEx(CFE_ES_CDSHandle_t *HandlePtr, size_t UserBlockSize, CFE_ES_CDSBlockRecordSetUsed(RegRecPtr, PendingBlockId); } - if (Status == CFE_SUCCESS && (IsNewOffset || IsNewEntry)) + if (Status == CFE_SUCCESS && IsNewOffset) { /* If we succeeded at creating a CDS, save updated registry in the CDS */ RegUpdateStatus = CFE_ES_UpdateCDSRegistry();