mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
incorrect case fix; remove uint8_t use since doesn't fit style; remove old debugging cruft
git-svn-id: https://zxing.googlecode.com/svn/trunk@2219 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
596e4a0871
commit
b10e1c6b0e
|
@ -38,7 +38,7 @@ using zxing::Ref;
|
|||
using std::string;
|
||||
|
||||
namespace {
|
||||
void add(string& result, uint8_t character) {
|
||||
void add(string& result, unsigned char character) {
|
||||
char s[] = { character & 0xff };
|
||||
char* ss = s;
|
||||
size_t sl = sizeof(s);
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include <zxing/common/DecoderResult.h>
|
||||
#include <zxing/common/BitMatrix.h>
|
||||
#include <zxing/common/str.h>
|
||||
#include <zxing/common/Str.h>
|
||||
#include <zxing/aztec/AztecDetectorResult.h>
|
||||
|
||||
namespace zxing {
|
||||
|
|
|
@ -380,19 +380,6 @@ Ref<BitMatrix> Detector::sampleGrid(Ref<zxing::BitMatrix> image,
|
|||
}
|
||||
|
||||
void Detector::getParameters(Ref<zxing::BitArray> parameterData) {
|
||||
|
||||
if (false) {
|
||||
printf("getting parameters from: ");
|
||||
for (int i = 0; i < (int)parameterData->getSize(); i++) {
|
||||
if (parameterData->get(i)) {
|
||||
printf("1");
|
||||
} else {
|
||||
printf("0");
|
||||
}
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
nbLayers_ = 0;
|
||||
nbDataBlocks_ = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue