File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -370,15 +370,13 @@ int main(int argc, char *argv[])
370370 {
371371 // Verify example exists in collection to be removed
372372 char * exColInfo = LoadFileText (exCollectionFilePath );
373- if ((TextFindIndex (exColInfo , argv [2 ]) != -1 ) && // Example in the collection
374- (TextFindIndex (exName , "_" ) != -1 )) // Valid example name
373+ if (TextFindIndex (exColInfo , argv [2 ]) != -1 ) // Example in the collection
375374 {
376-
377375 strcpy (exName , argv [2 ]); // Register example name for removal
378376 strncpy (exCategory , exName , TextFindIndex (exName , "_" ));
379377 opCode = OP_BUILD ;
380378 }
381- else LOG ("WARNING: REMOVE : Example not available in the collection\n" );
379+ else LOG ("WARNING: BUILD : Example not available in the collection\n" );
382380 UnloadFileText (exColInfo );
383381 }
384382 }
You can’t perform that action at this time.
0 commit comments