diff options
author | Sylvestre Ledru <sylvestre.ledru@scilab.org> | 2011-01-22 10:21:22 +0100 |
---|---|---|
committer | Calixte DENIZET <calixte@contrib.scilab.org> | 2011-01-22 14:51:23 +0100 |
commit | df72bef9c3a4479713138977ea87b86cd117f7e9 (patch) | |
tree | 3c16d7d5cc061daee3df32326051ff9789eccdb1 /scilab/modules/intersci | |
parent | 13c812f226b606122907cd48c70da9bcf8ad4cd3 (diff) | |
download | scilab-df72bef9c3a4479713138977ea87b86cd117f7e9.zip scilab-df72bef9c3a4479713138977ea87b86cd117f7e9.tar.gz |
Duplicated argument to && or ||
Issues found thanks to Coccinelle: http://coccinelle.lip6.fr/
Thanks to Julia Lawall for producing the results
Change-Id: I53fafa7be06a80a576af037eb452511078f01c6c
Diffstat (limited to 'scilab/modules/intersci')
-rw-r--r-- | scilab/modules/intersci/src/exe/crerhs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scilab/modules/intersci/src/exe/crerhs.c b/scilab/modules/intersci/src/exe/crerhs.c index 8e80ee6..789f8ae 100644 --- a/scilab/modules/intersci/src/exe/crerhs.c +++ b/scilab/modules/intersci/src/exe/crerhs.c | |||
@@ -543,7 +543,7 @@ void GetDim(char *lstr,IVAR ivar) | |||
543 | char *s; | 543 | char *s; |
544 | s=Forname2Int(variables[ivar-1],0); | 544 | s=Forname2Int(variables[ivar-1],0); |
545 | if ( strncmp(s,"stk",3)==0 || strncmp(s,"istk",4)==0 | 545 | if ( strncmp(s,"stk",3)==0 || strncmp(s,"istk",4)==0 |
546 | || strncmp(s,"sstk",4)==0 || strncmp(s,"stk",3)==0 || | 546 | || strncmp(s,"sstk",4)==0 || |
547 | strncmp(s,"cstk",4)==0 ) | 547 | strncmp(s,"cstk",4)==0 ) |
548 | { | 548 | { |
549 | strcpy(lstr,s); | 549 | strcpy(lstr,s); |