Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions c-api/baselib/src/crgLoader.c
Original file line number Diff line number Diff line change
Expand Up @@ -3372,15 +3372,9 @@ decodeIncludeFile( CrgDataStruct* crgData, const char* buffer, int code )

case dOpcodeIncludeDone:
{
CrgAdminStruct adminBackup;

crgMsgPrint( dCrgMsgLevelNotice, "--------------------------------------\n" );
crgMsgPrint( dCrgMsgLevelNotice, "decodeIncludeFile: importing file <%s>\n", filename );

/* hold a copy of the administration structure */
memcpy( &adminBackup, &( crgData->admin ), sizeof( CrgAdminStruct ) );
crgData->admin.sectionType = dFileSectionNone;

/* load the include file and set the file level accordingly */
mFileLevel++;

Expand All @@ -3391,9 +3385,6 @@ decodeIncludeFile( CrgDataStruct* crgData, const char* buffer, int code )
if ( !result )
return 0;

/* restore the administration structure */
memcpy( &( crgData->admin ), &adminBackup, sizeof( CrgAdminStruct ) );

crgMsgPrint( dCrgMsgLevelNotice, "--------------------------------------\n" );
crgMsgPrint( dCrgMsgLevelNotice, "decodeIncludeFile: continuing with previous file\n" );

Expand Down
Loading