Wireshark mailing list archives

Re: [Wireshark-commits] rev 38296: /trunk/gtk/ /trunk/gtk/: sctp_graph_dlg.c


From: Anders Broman <anders.broman () ericsson com>
Date: Mon, 1 Aug 2011 08:39:45 +0200

 

-----Original Message-----
From: wireshark-dev-bounces () wireshark org [mailto:wireshark-dev-bounces () wireshark org] On Behalf Of Joerg Mayer
Sent: den 1 augusti 2011 00:08
To: wireshark-dev () wireshark org
Subject: Re: [Wireshark-dev] [Wireshark-commits] rev 38296: /trunk/gtk/ /trunk/gtk/: sctp_graph_dlg.c

On Sun, Jul 31, 2011 at 09:54:48PM +0000, etxrab () wireshark org wrote:
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=38296

User: etxrab
Date: 2011/07/31 02:54 PM

Log:
 Try to fix:
 cc1: warnings being treated as errors
 ../../gtk/sctp_graph_dlg.c: In function ???draw_tsn_graph???:
 ../../gtk/sctp_graph_dlg.c:511: error: ???cr??? may be used 
uninitialized in this function

...

Just a curious question: Is this a compiler bug? It didn't complain on my system and the code looked "right" to me.

Ciao
  Joerg

PS: All the files that were fixed have a single call to deprecated function
 gdk_draw_layout left. Is this intentional?

Sort of, I haven't figured out how to replace it yet :-)
Regards
Anders

-- 
Joerg Mayer                                           <jmayer () loplof de>
We are stuck with technology when what we really want is just stuff that works. Some say that should read Microsoft 
instead of technology.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: