[warning-fix][format-fixes]
This commit is contained in:
parent
e52c2907cf
commit
d33d4c5cad
4 changed files with 6 additions and 6 deletions
|
|
@ -1801,8 +1801,8 @@ EXPRstring(char *buffer,Expression e)
|
|||
strcat(buffer,")");
|
||||
break;
|
||||
default:
|
||||
sprintf(buffer,"EXPRstring: unknown expression, type %d",TYPEis(e->type),buffer);
|
||||
fprintf(stderr,buffer);
|
||||
sprintf(buffer,"EXPRstring: unknown expression, type %d",TYPEis(e->type));
|
||||
fprintf(stderr,"%s",buffer);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -501,7 +501,7 @@ ERROR_flush_message_buffer(void)
|
|||
int parent, child;
|
||||
|
||||
/* pop off the top of the heap */
|
||||
fprintf(stderr,heap[1].msg);
|
||||
fprintf(stderr,"%s",heap[1].msg);
|
||||
|
||||
replace = &heap[ERROR_with_lines--];
|
||||
|
||||
|
|
|
|||
|
|
@ -4085,7 +4085,7 @@ DASBUG
|
|||
} else {
|
||||
if (i > 2) fprintf(files->create,", ");
|
||||
uniqRule = EXPRto_string(v->name);
|
||||
fprintf(files->create, uniqRule);
|
||||
fprintf(files->create, "%s",uniqRule);
|
||||
}
|
||||
LISTod
|
||||
fprintf(files->create,";\\n\");\n");
|
||||
|
|
|
|||
|
|
@ -629,7 +629,7 @@ FundamentalType(const Type t,int report_reftypes) {
|
|||
case list_:
|
||||
{
|
||||
fprintf(idl_file, "typedef sequence<");
|
||||
fprintf(idl_file, GetAggrElemType(type));
|
||||
fprintf(idl_file, "%s",GetAggrElemType(type));
|
||||
fprintf(idl_file, "> %s;\n",
|
||||
TYPEget_idl_type (type));
|
||||
|
||||
|
|
@ -724,7 +724,7 @@ FundamentalType(const Type t,int report_reftypes) {
|
|||
if(AddToAggrNameList(idl_type,idl_file))
|
||||
{
|
||||
fprintf(idl_file, "typedef sequence<");
|
||||
fprintf(idl_file, GetAggrElemType(VARget_type(a)));
|
||||
fprintf(idl_file, "%s",GetAggrElemType(VARget_type(a)));
|
||||
fprintf(idl_file, "> %s;\n", idl_type);
|
||||
}
|
||||
fprintf (idl_file, "\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue