gdb/ChangeLog:
* remote-m32r-sdi.c (recv_char_data): Initialize val to avoid
compiler warning.
(recv_long_data): Ditto.
+2016-02-25 Doug Evans <dje@google.com>
+
+ * remote-m32r-sdi.c (recv_char_data): Initialize val to avoid
+ compiler warning.
+ (recv_long_data): Ditto.
+
2016-02-25 Simon Marchi <simon.marchi@ericsson.com>
* i386-linux-tdep.c (i386_linux_handle_segmentation_fault):
static unsigned char
recv_char_data (void)
{
- unsigned char val;
+ unsigned char val = 0; /* -Wall */
recv_data (&val, 1);
return val;
static unsigned long
recv_long_data (void)
{
- unsigned long val;
+ unsigned long val = 0; /* -Wall */
recv_data (&val, 4);
return ntohl (val);