projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unnecessary casts of NULL
[deliverable/binutils-gdb.git]
/
gdb
/
stabsread.c
diff --git
a/gdb/stabsread.c
b/gdb/stabsread.c
index 27414a9812aa2414cc35b7f9d85fa709a55053c9..a3fe6c99ca3529bed7b3fb239b0c4b33c6445f40 100644
(file)
--- a/
gdb/stabsread.c
+++ b/
gdb/stabsread.c
@@
-2048,7
+2048,7
@@
again:
case 'S': /* Set type */
type1 = read_type (pp, objfile);
case 'S': /* Set type */
type1 = read_type (pp, objfile);
- type = create_set_type (
(struct type *)
NULL, type1);
+ type = create_set_type (NULL, type1);
if (typenums[0] != -1)
*dbx_lookup_type (typenums, objfile) = type;
break;
if (typenums[0] != -1)
*dbx_lookup_type (typenums, objfile) = type;
break;
@@
-3585,7
+3585,7
@@
read_array_type (const char **pp, struct type *type,
}
range_type =
}
range_type =
- create_static_range_type (
(struct type *)
NULL, index_type, lower, upper);
+ create_static_range_type (NULL, index_type, lower, upper);
type = create_array_type (type, element_type, range_type);
return type;
type = create_array_type (type, element_type, range_type);
return type;
@@
-4212,7
+4212,7
@@
handle_true_range:
}
result_type
}
result_type
- = create_static_range_type (
(struct type *)
NULL, index_type, n2, n3);
+ = create_static_range_type (NULL, index_type, n2, n3);
return (result_type);
}
return (result_type);
}
This page took
0.026389 seconds
and
4
git commands to generate.