Should not reach end of non-void function
This commit is contained in:
parent
8c00b130a4
commit
6cc8eb4daa
8
file.c
8
file.c
@ -5879,10 +5879,8 @@ rb_stat_wr(VALUE obj)
|
||||
if ((st->st_mode & (S_IROTH)) == S_IROTH) {
|
||||
return UINT2NUM(st->st_mode & (S_IRUGO|S_IWUGO|S_IXUGO));
|
||||
}
|
||||
else {
|
||||
return Qnil;
|
||||
}
|
||||
#endif
|
||||
return Qnil;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -5972,10 +5970,8 @@ rb_stat_ww(VALUE obj)
|
||||
if ((st->st_mode & (S_IWOTH)) == S_IWOTH) {
|
||||
return UINT2NUM(st->st_mode & (S_IRUGO|S_IWUGO|S_IXUGO));
|
||||
}
|
||||
else {
|
||||
return Qnil;
|
||||
}
|
||||
#endif
|
||||
return Qnil;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user