aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-vms.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-12-16 21:31:22 +0000
committerKen Raeburn <raeburn@cygnus>1993-12-16 21:31:22 +0000
commitc999fd9fc23a159a286f9b129992dd5a2969db39 (patch)
tree03370ad2c756ba88c5b5c53e2c50b2cf9c1eb24d /gas/config/obj-vms.c
parenta8a72d7480f75d02490bfb14c2377ddd158f4889 (diff)
downloadgdb-c999fd9fc23a159a286f9b129992dd5a2969db39.zip
gdb-c999fd9fc23a159a286f9b129992dd5a2969db39.tar.gz
gdb-c999fd9fc23a159a286f9b129992dd5a2969db39.tar.bz2
* config/tc-vax.c (tc_aout_fix_to_chars): Local variable NBYTES_R_LENGTH now
const. * config/obj-*.c, config/tc-*.c: Omit superfluous "return" statements at ends of functions. Don't check for null return from hash_new, since it won't return at all if there's no memory available. Also, check for null return from hash_insert, rather than zero-length string, as success indicator.
Diffstat (limited to 'gas/config/obj-vms.c')
-rw-r--r--gas/config/obj-vms.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gas/config/obj-vms.c b/gas/config/obj-vms.c
index 4bbb67d..704141f 100644
--- a/gas/config/obj-vms.c
+++ b/gas/config/obj-vms.c
@@ -377,8 +377,7 @@ vms_resolve_symbol_redef (sym)
void
obj_read_begin_hook ()
{
- return;
-} /* obj_read_begin_hook() */
+}
void
obj_crawl_symbol_chain (headers)
@@ -3423,10 +3422,6 @@ VMS_Modify_Psect_Attributes (Name, Attribute_Pointer)
if (*Name == '_')
Name++;
}
- /*
- * Done
- */
- return;
}