summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjonsykkel <jonrevold@gmail.com>2020-04-09 17:56:46 +0200
committerjonsykkel <jonrevold@gmail.com>2020-04-09 17:56:46 +0200
commit883b29dde8f8fccc055188202212ef65b80718db (patch)
tree4fdd08a16e6328ffeda418a2fc3dae5ccedf07db
parentb44473967e21364383cbe6dd8ea61e060d87dd01 (diff)
downloadct_sequence-master.tar.gz
-rw-r--r--src/a7.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/a7.c b/src/a7.c
index 3d73129..9c36b52 100644
--- a/src/a7.c
+++ b/src/a7.c
@@ -61,10 +61,8 @@ void a7_loop(uint64_t x0,uint64_t x1){
}
memcpy(p,&x,WIDTH);
if(t == filled){
- uint32_t r;
+ uint32_t r = 0;
do{
- uint8_t *p;
- r = 0;
p = lastp+(++filled*WIDTH);
memcpy(&r,p,WIDTH);
}while(r);