From 0bcc7ab89eafb2ae53195e94c9bea42a4e886b64 Mon Sep 17 00:00:00 2001 From: Chris Angelico Date: Sun, 8 Jun 2014 22:09:17 +1000 Subject: [PATCH] Clean up constant qstr declarations now that charlen isn't needed --- py/qstr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py/qstr.c b/py/qstr.c index 22b44a710a..d9a1473dae 100644 --- a/py/qstr.c +++ b/py/qstr.c @@ -84,8 +84,8 @@ const static qstr_pool_t const_pool = { 10, // set so that the first dynamically allocated pool is twice this size; must be <= the len (just below) MP_QSTR_number_of, // corresponds to number of strings in array just below { - (const byte*) "\0\0\0\0\0\0", // invalid/no qstr has empty data - (const byte*) "\0\0\0\0\0\0", // empty qstr + (const byte*) "\0\0\0\0", // invalid/no qstr has empty data + (const byte*) "\0\0\0\0", // empty qstr #define Q(id, str) str, #include "genhdr/qstrdefs.generated.h" #undef Q