Bug 12683 - source4/heimdal/lib/krb5/init_creds_pw.c (switch)
Summary: source4/heimdal/lib/krb5/init_creds_pw.c (switch)
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.8.0
Hardware: x64 Mac OS X
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-12 17:58 UTC by Ruga
Modified: 2018-04-25 10:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruga 2017-03-12 17:58:54 UTC
../source4/heimdal/lib/krb5/init_creds_pw.c:314:14: warning: 6 enumeration values not handled in switch: 'LR_NONE', 'LR_INITIAL_TGT', 'LR_INITIAL'... [-Wswitch]
            switch (lr->val[i].lr_type) {
                    ^
Comment 1 Ruga 2018-04-25 10:13:11 UTC
[ 717/2913] Compiling source4/heimdal/lib/krb5/init_creds_pw.c
In file included from ../source4/heimdal/lib/krb5/init_creds_pw.c:36:
In file included from ../source4/heimdal/lib/krb5/krb5_locl.h:147:
In file included from ../source4/heimdal_build/roken.h:156:
../source4/heimdal/lib/roken/roken.h.in:1081:9: warning: 'closefrom' macro redefined [-Wmacro-redefined]
#define closefrom rk_closefrom
        ^
../lib/replace/replace.h:255:9: note: previous definition is here
#define closefrom rep_closefrom
        ^
../source4/heimdal/lib/krb5/init_creds_pw.c:314:14: warning: 6 enumeration values not handled in switch: 'LR_NONE', 'LR_INITIAL_TGT', 'LR_INITIAL'... [-Wswitch]
            switch (lr->val[i].lr_type) {
                    ^
2 warnings generated.