Wireshark mailing list archives

Re: Compilation errors


From: Stig Bjørlykke <stig () bjorlykke org>
Date: Thu, 21 Apr 2011 13:18:53 +0200

On Thu, Apr 21, 2011 at 1:03 PM, Anders Broman
<anders.broman () ericsson com> wrote:
Should case 1: return CMP.. ?
In the default branch there should also be a return, right?

Do you get this without GEOIP?  We should always have a default in a
switch, so I guess we should have a "return 0" in the default branch
if not having GEOIP (which will never happend, but will remove the
warning).


-- 
Stig Bjørlykke
___________________________________________________________________________
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: