summaryrefslogtreecommitdiff
path: root/src/htsfilters.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-04-21 18:46:35 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-04-21 18:46:35 +0000
commit78173ef8190a1d5f9bab28053b0c274329533e59 (patch)
treebcb808532b5217262ccd1cfc08a33c4af30be108 /src/htsfilters.c
parentaad018682d4298a476e2bca6eb8756de41fa8ca0 (diff)
Build warning cleanup.
* introduced SOClen type (aka. socklen_t)
Diffstat (limited to 'src/htsfilters.c')
-rw-r--r--src/htsfilters.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/htsfilters.c b/src/htsfilters.c
index 84591e6..68d66f5 100644
--- a/src/htsfilters.c
+++ b/src/htsfilters.c
@@ -105,7 +105,7 @@ int fa_strjoker(int type,char** filters,int nfil,char* nom,LLint* size,int* size
// * = toute lettre
// --?-- : spécifique à HTTrack et aux ?
HTS_INLINE char* strjoker(char* chaine,char* joker,LLint* size,int* size_flag) {
- int err=0;
+ //int err=0;
if (strnotempty(joker)==0) { // fin de chaine joker
if (strnotempty(chaine)==0) // fin aussi pour la chaine: ok
return chaine;
@@ -214,7 +214,8 @@ HTS_INLINE char* strjoker(char* chaine,char* joker,LLint* size,int* size_flag) {
for(j=(int) (unsigned char) joker[i];j<=(int) (unsigned char) joker[i+2];j++)
pass[j]=1;
- } else err=1;
+ }
+ // else err=1;
i+=3;
} else { // 1 car, ex: *[ ]
if (joker[i+2]=='\\' && joker[i+3] != 0) { // escaped char, such as *[\[] or *[\]]