projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gdb: remove unnecessary NULL checks before xfree
[deliverable/binutils-gdb.git]
/
gdb
/
utils.c
diff --git
a/gdb/utils.c
b/gdb/utils.c
index 989b13d0e0f3882eab9e872c149116368e05c1d6..d2290c30a78b895fb63be8bc3236772b7d00cf72 100644
(file)
--- a/
gdb/utils.c
+++ b/
gdb/utils.c
@@
-2260,8
+2260,7
@@
n_spaces (int n)
if (n > max_spaces)
{
- if (spaces)
- xfree (spaces);
+ xfree (spaces);
spaces = (char *) xmalloc (n + 1);
for (t = spaces + n; t != spaces;)
*--t = ' ';
This page took
0.023967 seconds
and
4
git commands to generate.