summaryrefslogtreecommitdiff
path: root/gcc/c-pragma.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-28 09:13:40 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-28 09:13:40 +0000
commit427fec8c91721e4790fa2a2816c9b5f5baf32470 (patch)
tree23046a5c7a99ae7bd891ed463a086bb9f1713194 /gcc/c-pragma.c
parent28fa229c37e0cd7dd7de74e476cace2b7cd1fdcc (diff)
downloadgcc-427fec8c91721e4790fa2a2816c9b5f5baf32470.tar.gz
* c-pragma.c (push_alignment): Don't check the return value
of xmalloc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30233 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-pragma.c')
-rw-r--r--gcc/c-pragma.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/c-pragma.c b/gcc/c-pragma.c
index 36aa2c4dbaf..86bd5c48e1e 100644
--- a/gcc/c-pragma.c
+++ b/gcc/c-pragma.c
@@ -91,12 +91,6 @@ Alignment must be a small power of two, not %d, in #pragma pack",
entry = (align_stack *) xmalloc (sizeof (* entry));
- if (entry == NULL)
- {
- warning ("Out of memory pushing #pragma pack");
- return 0;
- }
-
entry->alignment = alignment;
entry->num_pushes = 1;
entry->id = id;