summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--msgpack/unpack_template.h2
-rw-r--r--setup.py1
-rw-r--r--test/test_sequnpack.py3
3 files changed, 2 insertions, 4 deletions
diff --git a/msgpack/unpack_template.h b/msgpack/unpack_template.h
index 7646896..d34eced 100644
--- a/msgpack/unpack_template.h
+++ b/msgpack/unpack_template.h
@@ -322,7 +322,7 @@ static inline int unpack_execute(unpack_context* ctx, const char* data, size_t l
case CS_MAP_32:
/* FIXME security guard */
start_container(_map, _msgpack_load32(uint32_t,n), CT_MAP_KEY);
-
+
default:
goto _failed;
}
diff --git a/setup.py b/setup.py
index 83ae79f..1055a61 100644
--- a/setup.py
+++ b/setup.py
@@ -92,7 +92,6 @@ if not hasattr(sys, 'pypy_version_info'):
libraries=libraries,
include_dirs=['.'],
define_macros=macros,
- extra_compile_args=['-O0'],
))
del libraries, macros
diff --git a/test/test_sequnpack.py b/test/test_sequnpack.py
index af66b78..f541207 100644
--- a/test/test_sequnpack.py
+++ b/test/test_sequnpack.py
@@ -1,10 +1,9 @@
#!/usr/bin/env python
# coding: utf-8
-import py
import six
from msgpack import Unpacker, BufferFull
-from msgpack.exceptions import OutOfData, ExtraData, UnpackValueError
+from msgpack.exceptions import OutOfData
from pytest import raises