This commit is contained in:
nnhy 2015-12-29 06:41:55 +00:00
parent ea14295e85
commit bde79dc116
2 changed files with 0 additions and 3 deletions

View File

@ -70,8 +70,6 @@ bool ConfigBlock::Init(const char* name, const Array& bs)
uint slen = strlen(name);
if(slen > sizeof(Name)) return false;
//Size = bs.Length();
if(slen > ArrayLength(Name)) slen = ArrayLength(Name);
memset(Name, 0, ArrayLength(Name));

1
Type.h
View File

@ -3,7 +3,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* 类型定义 */
typedef char sbyte;