Compiler: Fix indentation.

This commit is contained in:
Arkshine 2014-08-17 11:14:15 +02:00
parent ca7b0ceadd
commit 27825963f6
5 changed files with 144 additions and 147 deletions

View File

@ -289,7 +289,6 @@ SC_FUNC int matchtag(int formaltag,int actualtag,int allowcoerce)
*/ */
if (!allowcoerce || formaltag!=0 || (actualtag & FIXEDTAG)!=0) if (!allowcoerce || formaltag!=0 || (actualtag & FIXEDTAG)!=0)
return FALSE; return FALSE;
} /* if */ } /* if */
return TRUE; return TRUE;
} }

View File

@ -309,8 +309,7 @@ SC_FUNC stringpair *find_subst(char *name,int length)
if (item!=NULL) if (item!=NULL)
item=find_stringpair(item,name,length); item=find_stringpair(item,name,length);
if (item && (item->flags & flgDEPRECATED) != 0) if (item && (item->flags & flgDEPRECATED) != 0) {
{
static char macro[128]; static char macro[128];
char *rem, *msg = (item->documentation != NULL) ? item->documentation : ""; char *rem, *msg = (item->documentation != NULL) ? item->documentation : "";
strncpy(macro, item->first, sizeof(macro)); strncpy(macro, item->first, sizeof(macro));
@ -319,8 +318,7 @@ SC_FUNC stringpair *find_subst(char *name,int length)
/* If macro contains an opening parentheses and a percent sign, then assume that /* If macro contains an opening parentheses and a percent sign, then assume that
* it takes arguments and remove them from the warning message. * it takes arguments and remove them from the warning message.
*/ */
if ((rem = strchr(macro, '(')) != NULL && strchr(macro, '%') > rem) if ((rem = strchr(macro, '(')) != NULL && strchr(macro, '%') > rem) {
{
*rem = '\0'; *rem = '\0';
} }