]> andersk Git - splint.git/blobdiff - src/cppmain.c
Cleaned up code problems reported by make splintme.
[splint.git] / src / cppmain.c
index 991ed85658ad87ca5ed3d35eff3d7984424cad4e..36b1ce07b1b93f94382562982db1168bab68bc0f 100644 (file)
@@ -191,12 +191,8 @@ void cppAddIncludeDir (cstring dir)
     } 
   else 
     {
-      /* -I option (Add directory to include path) */
       struct file_name_list *dirtmp = (struct file_name_list *) dmalloc (sizeof (*dirtmp));
       
-      llassert (cstring_firstChar (dir) == 'I');
-      dir = cstring_suffix (dir, 1);
-
       DPRINTF (("Add include: %s", dir));
 
       dirtmp->next = 0;                /* New one goes on the end */
This page took 0.257085 seconds and 4 git commands to generate.