summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/edje/epp/cpplib.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/bin/edje/epp/cpplib.c b/src/bin/edje/epp/cpplib.c
index 3cfc3a8e2f..0659000f01 100644
--- a/src/bin/edje/epp/cpplib.c
+++ b/src/bin/edje/epp/cpplib.c
@@ -3324,20 +3324,21 @@ do_include(cpp_reader * pfile, struct directive *keyword,
3324 { 3324 {
3325 strncpy(fname, (const char *)fbeg, flen); 3325 strncpy(fname, (const char *)fbeg, flen);
3326 fname[flen] = 0; 3326 fname[flen] = 0;
3327 if (redundant_include_p(pfile, fname)) 3327 if (redundant_include_p(pfile, fname))
3328 { 3328 {
3329 free(fname); 3329 free(fname);
3330 return 0; 3330 return 0;
3331 } 3331 }
3332 if (importing) 3332 if (importing)
3333 f = lookup_import(pfile, fname, NULL); 3333 f = lookup_import(pfile, fname, NULL);
3334 else 3334 else
3335 f = open_include_file(pfile, fname, NULL); 3335 f = open_include_file(pfile, fname, NULL);
3336 if (f == -2) 3336 /* Already included this file */
3337 { 3337 if (f == -2)
3338 free(fname); 3338 {
3339 return 0; /* Already included this file */ 3339 free(fname);
3340 } 3340 return 0;
3341 }
3341 } 3342 }
3342 else 3343 else
3343 { 3344 {