btcs

bitcoin script parser/evaluator/compiler/decompiler
git clone git://jb55.com/btcs
Log | Files | Refs | README | LICENSE

commit 80690b127478b0c631953ba856f676b36d238cb2
parent af940293f87782e0653e7195d21f9250fe80b862
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 23 Dec 2017 04:49:38 -0800

misc: quell warning

Diffstat:
Mval.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/val.c b/val.c @@ -161,13 +161,13 @@ val_copy(struct val a) { u32 val_size(struct val val) { - u8 *data; u32 len; switch (val.type) { - case VT_DATA: - data = byte_pool_get(val.ind, &len); + case VT_DATA: { + u8 *data = byte_pool_get(val.ind, &len); return len; + } default: return 1; }