Minor refactor

This commit is contained in:
Arun Prakash Jana 2019-07-05 20:58:36 +05:30
parent c373b4b279
commit bde25e3ca0
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 13 additions and 15 deletions

View File

@ -151,7 +151,6 @@
#define F_NOTRACE 0x04 /* suppress stdout and strerr (no traces) */
#define F_NORMAL 0x08 /* spawn child process in non-curses regular CLI mode */
#define F_CMD 0x10 /* run command - show results before exit (must have F_NORMAL) */
#define F_CLI (F_NORMAL | F_MULTI)
/* CRC8 macros */
@ -666,7 +665,6 @@ static size_t xstrlcpy(char *dest, const char *src, size_t n)
size_t len = strlen(src) + 1, blocks;
const uint _WSHIFT = (LONG_SIZE == 8) ? 3 : 2;
if (n > len)
n = len;
else if (len > n)