Unify style
[jansson.git] / src / load.c
index f05230b..5a48dc3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009, 2010 Petri Lehtinen <petri@digip.org>
+ * Copyright (c) 2009-2011 Petri Lehtinen <petri@digip.org>
  *
  * Jansson is free software; you can redistribute it and/or modify
  * it under the terms of the MIT license. See LICENSE for details.
@@ -805,10 +805,10 @@ json_t *json_loads(const char *string, size_t flags, json_error_t *error)
 {
     lex_t lex;
     json_t *result;
-    (void)flags; /* unused */
-
     string_data_t stream_data = {string, 0};
 
+    (void)flags; /* unused */
+
     if(lex_init(&lex, string_get, string_eof, (void *)&stream_data))
         return NULL;