No need to memset() the byte buffer
This commit is contained in:
parent
bb4f63f4a0
commit
30d5125bff
2 changed files with 5 additions and 6 deletions
|
@ -38,8 +38,6 @@
|
|||
#include "arch.h"
|
||||
|
||||
|
||||
#define EC_BUFFER_INCREMENT (256)
|
||||
|
||||
void ec_byte_writeinit_buffer(ec_byte_buffer *_b, unsigned char *_buf, long _size){
|
||||
_b->ptr=_b->buf=_buf;
|
||||
_b->end_ptr=_b->buf+_size-1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue