[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b

Török Edvin edwin at clamav.net
Sun Apr 4 01:16:33 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit a7b7a6483396cd924793b7afd9a31f719eb96f1e
Author: Török Edvin <edwin at clamav.net>
Date:   Tue Jan 26 14:25:54 2010 +0200

    fix compiler warning.

diff --git a/libclamav/c++/bytecode2llvm.cpp b/libclamav/c++/bytecode2llvm.cpp
index a7df85d..c2a9fe5 100644
--- a/libclamav/c++/bytecode2llvm.cpp
+++ b/libclamav/c++/bytecode2llvm.cpp
@@ -782,7 +782,7 @@ public:
 		unsigned c = 0;
 		for (unsigned j=0;j<bb->numInsts;j++) {
 		    const struct cli_bc_inst *inst = &bb->insts[j];
-		    Value *Op0, *Op1, *Op2;
+		    Value *Op0=0, *Op1=0, *Op2=0;
 		    // libclamav has already validated this.
 		    assert(inst->opcode < OP_BC_INVALID && "Invalid opcode");
 		    if (func->dbgnodes) {

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list