[Bug 201285] tools/regression/lib/libc/nss/test-getaddr.c:450: possible missing break ?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 2 16:15:21 UTC 2015


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 at freebsd.org
          Reporter: dcb314 at 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.


More information about the freebsd-testing mailing list