Bug 12683 - source4/heimdal/lib/krb5/init_creds_pw.c (switch)
source4/heimdal/lib/krb5/init_creds_pw.c (switch)
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build
4.8.0
x64 Mac OS X
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
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.