Skip to content

Commit

Permalink
Fix compile warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
jerboaa committed Sep 29, 2023
1 parent 75e03e6 commit d9cad5a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,6 @@ Java_sun_nio_fs_UnixNativeDispatcher_lstat0(JNIEnv* env, jclass this,
RESTARTABLE(statx_wrapper(AT_FDCWD, path, flags, mask, &statx_buf, NO_FOLLOW_SYMLINK), err);
if (err == 0) {
copy_statx_attributes(env, &statx_buf, attrs);
return 0;
} else {
throwUnixException(env, errno);
}
Expand Down Expand Up @@ -782,7 +781,6 @@ Java_sun_nio_fs_UnixNativeDispatcher_fstatat0(JNIEnv* env, jclass this, jint dfd
RESTARTABLE(statx_wrapper((int)dfd, path, flags, mask, &statx_buf, f_symlink), err);
if (err == 0) {
copy_statx_attributes(env, &statx_buf, attrs);
return 0;
} else {
throwUnixException(env, errno);
}
Expand Down

0 comments on commit d9cad5a

Please sign in to comment.