mirror of https://github.com/xfarrow/dircomp.git
Small improvement
This commit is contained in:
parent
993700ad19
commit
aa6d891d89
|
@ -105,6 +105,10 @@ bool analyze_directories(char* directory_to_analyze_1, char* directory_to_analyz
|
|||
struct dirent *element;
|
||||
DIR *directory1, *directory2;
|
||||
|
||||
if(strcmp(directory_to_analyze_1, directory_to_analyze_2) == 0){
|
||||
return true;
|
||||
}
|
||||
|
||||
directory1 = opendir(directory_to_analyze_1);
|
||||
directory2 = opendir(directory_to_analyze_2);
|
||||
|
||||
|
|
Loading…
Reference in New Issue