From 2d8fc71cf373e1e040b52147d6d44f85d4413101 Mon Sep 17 00:00:00 2001 From: Bernie Hackett Date: Tue, 22 Jul 2014 16:35:50 -0700 Subject: [PATCH] PYTHON-707 - Fix -Werror=declaration-after-statement --- bson/_cbsonmodule.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bson/_cbsonmodule.c b/bson/_cbsonmodule.c index f301f5f1a..e57fc61d5 100644 --- a/bson/_cbsonmodule.c +++ b/bson/_cbsonmodule.c @@ -2045,10 +2045,11 @@ static PyObject* get_value(PyObject* self, const char* buffer, unsigned* positio } case 18: { - PyObject* bsonint64_type = _get_object(state->BSONInt64, "bson.bsonint64", "BSONInt64"); + long long ll; + PyObject* bsonint64_type = _get_object(state->BSONInt64, + "bson.bsonint64", "BSONInt64"); if (!bsonint64_type) goto invalid; - long long ll; if (max < 8) { goto invalid; }