HDFS-8651. Make hadoop-hdfs-project Native code -Wall-clean (Alan Burlison via Colin P. McCabe)

(cherry picked from commit 1b764a01fd)
This commit is contained in:
Colin Patrick Mccabe 2015-06-26 10:21:40 -07:00
parent 0221d19f4e
commit 8552af91f4
2 changed files with 3 additions and 4 deletions

View File

@ -340,6 +340,9 @@ Release 2.8.0 - UNRELEASED
HDFS-8546. Use try with resources in DataStorage and Storage. (wang) HDFS-8546. Use try with resources in DataStorage and Storage. (wang)
HDFS-8651. Make hadoop-hdfs-project Native code -Wall-clean (Alan Burlison
via Colin P. McCabe)
OPTIMIZATIONS OPTIMIZATIONS
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than

View File

@ -24,9 +24,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
static int get_hdfs_open_flags_from_info(hdfsFS fs, const char *path,
int flags, int *outflags, const hdfsFileInfo *info);
/** /**
* Given a set of FUSE flags, determine the libhdfs flags we need. * Given a set of FUSE flags, determine the libhdfs flags we need.
* *
@ -47,7 +44,6 @@ static int get_hdfs_open_flags_from_info(hdfsFS fs, const char *path,
*/ */
static int64_t get_hdfs_open_flags(hdfsFS fs, const char *path, int flags) static int64_t get_hdfs_open_flags(hdfsFS fs, const char *path, int flags)
{ {
int hasContent;
int64_t ret; int64_t ret;
hdfsFileInfo *info; hdfsFileInfo *info;