mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Refactor
This commit is contained in:
committed by
Robin Stuart
parent
1882d76b70
commit
4963a772db
@ -36,11 +36,11 @@
|
||||
#include "large.h"
|
||||
|
||||
void binary_add(short int accumulator[], short int input_buffer[]) { /* Binary addition */
|
||||
int i, carry, done;
|
||||
int i, carry;
|
||||
carry = 0;
|
||||
|
||||
for (i = 0; i < 112; i++) {
|
||||
done = 0;
|
||||
int done = 0;
|
||||
if (((input_buffer[i] == 0) && (accumulator[i] == 0))
|
||||
&& ((carry == 0) && (done == 0))) {
|
||||
accumulator[i] = 0;
|
||||
|
Reference in New Issue
Block a user