Surprisly clang started to tell me where variable may used uninitialized, correcting it!
That's a good point it tell me that, but was a bit unexpected ^^
This commit is contained in:
@@ -530,7 +530,7 @@ fatal(va_alist) /* fmt, args */
|
||||
|
||||
static void _error(int class, char *fn, unsigned int ln, char *fmt, va_list ap)
|
||||
{
|
||||
char *remark;
|
||||
char *remark = NULL;
|
||||
|
||||
/* check visibility of message */
|
||||
switch (class) {
|
||||
|
||||
@@ -77,7 +77,7 @@ struct type *construct_type(int fund, struct type *tp, int qual, arith count, st
|
||||
/* fund must be a type constructor: FIELD, FUNCTION, POINTER or
|
||||
ARRAY. The pointer to the constructed type is returned.
|
||||
*/
|
||||
struct type *dtp;
|
||||
struct type *dtp = NULL;
|
||||
|
||||
switch (fund) {
|
||||
#ifndef NOBITFIELD
|
||||
|
||||
Reference in New Issue
Block a user