projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbe2ad4
)
* config/tc-txvu.c (assemble_insn): Initialize errmsg = NULL
author
Doug Evans
<dje@google.com>
Sat, 24 Jan 1998 00:44:53 +0000
(
00:44
+0000)
committer
Doug Evans
<dje@google.com>
Sat, 24 Jan 1998 00:44:53 +0000
(
00:44
+0000)
before calling insert routine.
gas/config/tc-txvu.c
patch
|
blob
|
history
diff --git
a/gas/config/tc-txvu.c
b/gas/config/tc-txvu.c
index 502f28aa7b7aab8b5059d37a863092e67ef7c2fd..26d4f35815dc921a774f27b76615be624e1be2b2 100644
(file)
--- a/
gas/config/tc-txvu.c
+++ b/
gas/config/tc-txvu.c
@@
-234,6
+234,7
@@
assemble_insn (str, lower_p, buf)
{
if (operand->insert)
{
+ errmsg = NULL;
insn = (*operand->insert) (insn, operand, mods, 0, &errmsg);
/* If we get an error, go on to try the next insn. */
if (errmsg)
@@
-768,9
+769,7
@@
txvu_insert_operand (insn, operand, mods, val, file, line)
if (operand->insert)
{
- const char *errmsg;
-
- errmsg = NULL;
+ const char *errmsg = NULL;
insn = (*operand->insert) (insn, operand, mods, (long) val, &errmsg);
if (errmsg != (const char *) NULL)
as_warn (errmsg);