summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-09-29 15:24:41 +0200
committerVicent Marti <tanoku@gmail.com>2011-09-29 15:25:22 +0200
commit72bdfdbc7cb868b222127d1592d35a19e47ceb05 (patch)
tree3bbc1b80c7f340196dfb6227570db85f57506f9c /src
parent0812caaea54e47e31f07e989c3052c61084e1ece (diff)
downloadlibgit2-72bdfdbc7cb868b222127d1592d35a19e47ceb05.tar.gz
http-parser: Disable MSVC warnings locally
Diffstat (limited to 'src')
-rw-r--r--src/win32/msvc-compat.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/win32/msvc-compat.h b/src/win32/msvc-compat.h
index 2211de53a..64ed18476 100644
--- a/src/win32/msvc-compat.h
+++ b/src/win32/msvc-compat.h
@@ -9,16 +9,6 @@
#if defined(_MSC_VER)
-/*
- * Disable silly MSVC warnings
- */
-
-/* conditional expression is constant */
-#pragma warning(disable: 4127)
-
-/* nonstandard extension used : bit field types other than int */
-#pragma warning(disable: 4214)
-
/* access() mode parameter #defines */
# define F_OK 0 /* existence check */
# define W_OK 2 /* write mode check */