* [commit] m2-lang.c/evaluate_subexp_modula2: discard unused value
@ 2011-02-28 23:14 Michael Snyder
0 siblings, 0 replies; only message in thread
From: Michael Snyder @ 2011-02-28 23:14 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 13 bytes --]
checked in.
[-- Attachment #2: subexp2.txt --]
[-- Type: text/plain, Size: 688 bytes --]
2011-02-28 Michael Snyder <msnyder@vmware.com>
* m2-lang.c (evaluate_subexp_modula2): Discard unused variable.
Index: m2-lang.c
===================================================================
RCS file: /cvs/src/src/gdb/m2-lang.c,v
retrieving revision 1.59
diff -u -p -u -p -r1.59 m2-lang.c
--- m2-lang.c 9 Jan 2011 03:20:33 -0000 1.59
+++ m2-lang.c 28 Feb 2011 22:53:07 -0000
@@ -255,7 +255,7 @@ evaluate_subexp_modula2 (struct type *ex
if (value_type (arg1) != type)
arg1 = value_cast (type, arg1);
- type = check_typedef (value_type (arg1));
+ check_typedef (value_type (arg1));
return value_ind (value_ptradd (arg1, value_as_long (arg2)));
}
else
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-02-28 22:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-28 23:14 [commit] m2-lang.c/evaluate_subexp_modula2: discard unused value Michael Snyder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).