diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2010-03-11 21:08:45 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2010-03-11 21:08:45 +0100 |
commit | a338631abcbf66e15c532fb9ef62c3f175a9ed12 (patch) | |
tree | e7a380a06d0ee68fc0d45e1fa49a530daf493e16 | |
parent | 6d7c759b430bebb5a2a3ef6954bbb889ff55c378 (diff) | |
download | librcc-a338631abcbf66e15c532fb9ef62c3f175a9ed12.tar.gz librcc-a338631abcbf66e15c532fb9ef62c3f175a9ed12.tar.bz2 librcc-a338631abcbf66e15c532fb9ef62c3f175a9ed12.tar.xz librcc-a338631abcbf66e15c532fb9ef62c3f175a9ed12.zip |
One more bug pointed by lint
-rw-r--r-- | src/librcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librcc.c b/src/librcc.c index a2d4718..d880433 100644 --- a/src/librcc.c +++ b/src/librcc.c @@ -508,8 +508,8 @@ rcc_class_id rccRegisterClass(rcc_context ctx, rcc_class *cl) { ctx->iclass[ctx->n_classes].disabled = NULL; ctx->iclass[ctx->n_classes].additional = NULL; - ctx->classes[ctx->n_classes++] = (rcc_class_ptr)(ctx->iclass + ctx->n_classes); - ctx->classes[ctx->n_classes] = NULL; + ctx->classes[ctx->n_classes] = (rcc_class_ptr)(ctx->iclass + ctx->n_classes); + ctx->classes[++ctx->n_classes] = NULL; if (!strcasecmp(cl->name, "id3")) { rccRegisterDisabledCharsets(ctx, ctx->n_classes - 1, rcc_default_disabled_id3_charsets); |