diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-04-21 18:46:35 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-04-21 18:46:35 +0000 |
commit | 78173ef8190a1d5f9bab28053b0c274329533e59 (patch) | |
tree | bcb808532b5217262ccd1cfc08a33c4af30be108 /src/htscore.c | |
parent | aad018682d4298a476e2bca6eb8756de41fa8ca0 (diff) |
Build warning cleanup.
* introduced SOClen type (aka. socklen_t)
Diffstat (limited to 'src/htscore.c')
-rw-r--r-- | src/htscore.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/htscore.c b/src/htscore.c index be715ad..bbd0335 100644 --- a/src/htscore.c +++ b/src/htscore.c @@ -2862,7 +2862,7 @@ void usercommand_exe(const char* cmd,const char* file) { static void postprocess_file(httrackp* opt,const char* save, const char* adr, const char* fil) { - int first = 0; + //int first = 0; /* MIME-html archive to build */ if (opt != NULL && opt->mimehtml) { if (adr != NULL && strcmp(adr, "primary") == 0) { @@ -2879,7 +2879,7 @@ static void postprocess_file(httrackp* opt,const char* save, const char* adr, co } if (!opt->state.mimehtml_created) { - first = 1; + //first = 1; opt->state.mimefp = fopen(fconcat(OPT_GET_BUFF(opt), StringBuff(opt->path_html),"index.mht"), "wb"); if (opt->state.mimefp != NULL) { char BIGSTK rndtmp[1024], currtime[256]; @@ -3744,7 +3744,7 @@ int htsAddLink(htsmoduleStruct* str, char* link) { // message copyright interne void voidf(void) { - char* a; + static const char* a; a=""CRLF""CRLF; a="+-----------------------------------------------+"CRLF; a="|HyperTextTRACKer, Offline Browser Utility |"CRLF; @@ -3764,6 +3764,7 @@ void voidf(void) { a="|Use this program at your own risks! |"CRLF; a="+-----------------------------------------------+"CRLF; a=""CRLF; + (void) a; } |