Fix braced initializer list (NFC)
After r270617 I am getting an error when building:
projects/compiler-rt/lib/profile/InstrProfilingFile.c:33:36:
error: missing field 'PidChars' initializer
[-Werror,-Wmissing-field-initializers]
lprofFilename lprofCurFilename = {0};
^
Fix the aggregate initializer.
llvm-svn: 270697
This commit is contained in:
@@ -30,7 +30,7 @@ typedef struct lprofFilename {
|
||||
unsigned NumHosts;
|
||||
} lprofFilename;
|
||||
|
||||
lprofFilename lprofCurFilename = {0};
|
||||
lprofFilename lprofCurFilename = {0, {0}, {0}, 0, 0};
|
||||
|
||||
int getpid(void);
|
||||
static int getCurFilenameLength();
|
||||
|
||||
Reference in New Issue
Block a user