Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jul 2015 16:15:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-testing@freebsd.org
Subject:   [Bug 201285] tools/regression/lib/libc/nss/test-getaddr.c:450: possible missing break ?
Message-ID:  <bug-201285-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201285

            Bug ID: 201285
           Summary: tools/regression/lib/libc/nss/test-getaddr.c:450:
                    possible missing break ?
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: tests
          Assignee: freebsd-testing@freebsd.org
          Reporter: dcb314@hotmail.com

tools/regression/lib/libc/nss/test-getaddr.c:452]: (warning) Variable
'ai_family' is reassigned a value before the old one has been used. 'break;'
missing?

        switch (c) {
        case '4':
            hints.ai_family = PF_INET;
        case '6':
            hints.ai_family = PF_INET6;
            break;

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201285-32464>