summaryrefslogtreecommitdiff
path: root/src/path.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-11-01 09:38:03 -0700
committerRussell Belfer <rb@github.com>2013-11-01 09:38:03 -0700
commit948f00b4e79bb60c68e03342500013246e642ae6 (patch)
treeecace4b5262169a801eda0f142759fcc03010e4f /src/path.h
parentac5e507cec8e075a2095abcf4c8c82a01b82a5f9 (diff)
parentd3ed2106c137c1117f70499544868db21d9ea715 (diff)
downloadlibgit2-948f00b4e79bb60c68e03342500013246e642ae6.tar.gz
Merge pull request #1933 from libgit2/vmg/gcc-warnings
Warnings for Windows x64 (MSVC) and GCC on Linux
Diffstat (limited to 'src/path.h')
-rw-r--r--src/path.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/path.h b/src/path.h
index 17f4f7726..3daafd265 100644
--- a/src/path.h
+++ b/src/path.h
@@ -425,16 +425,6 @@ extern void git_path_iconv_clear(git_path_iconv_t *ic);
*/
extern int git_path_iconv(git_path_iconv_t *ic, char **in, size_t *inlen);
-#else
-
-typedef struct {
- int unused;
-} git_path_iconv_t;
-#define GIT_PATH_ICONV_INIT { 0 }
-#define git_path_iconv_init_precompose(X) 0
-#define git_path_iconv_clear(X) (void)(X)
-#define git_path_iconv(X,Y,Z) 0
-
#endif /* GIT_USE_ICONV */
#endif