]> granicus.if.org Git - yasm/commitdiff
* bin-objfmt.c: Remove unused variable bitcnt.
authorPeter Johnson <peter@tortall.net>
Wed, 11 Jan 2006 06:10:57 +0000 (06:10 -0000)
committerPeter Johnson <peter@tortall.net>
Wed, 11 Jan 2006 06:10:57 +0000 (06:10 -0000)
* coff-objfmt.c: Likewise.

svn path=/trunk/yasm/; revision=1329

modules/objfmts/bin/bin-objfmt.c
modules/objfmts/coff/coff-objfmt.c

index d2781c54b7ae217a47ab78fe4ade17284d14b05e..ed57b67fa7c1813ecd2a274e806e7e678ba76812 100644 (file)
@@ -380,7 +380,6 @@ bin_objfmt_section_switch(yasm_objfmt *objfmt, yasm_valparamhead *valparams,
 
            if (yasm__strcasecmp(vp->val, "align") == 0 && vp->param) {
                /*@dependent@*/ /*@null@*/ const yasm_intnum *align_expr;
-               unsigned long bitcnt;
 
                if (strcmp(sectname, ".text") == 0) {
                    yasm__error(line,
index 4aa17b54413d0a6a001adeab0ed65a9cdffa8626..4c2d2d8e3a3c745e1c4e36c92152cc897d71bfce 100644 (file)
@@ -1306,8 +1306,6 @@ coff_objfmt_section_switch(yasm_objfmt *objfmt, yasm_valparamhead *valparams,
        } else if (yasm__strcasecmp(vp->val, "align") == 0 && vp->param) {
            if (objfmt_coff->win32) {
                /*@dependent@*/ /*@null@*/ const yasm_intnum *align_expr;
-               unsigned long bitcnt;
-
                align_expr = yasm_expr_get_intnum(&vp->param, NULL);
                if (!align_expr) {
                    yasm__error(line,