summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-02 11:07:39 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-02 14:21:52 +0000
commitab86a53623c9bf5d3abc7149aa85d0e0c8d7fd98 (patch)
tree5457981a1a0e3b0ca4f5d6104d0105c3f5b1b7ee /rsc
parentcf6d0fced8bc8770ca101b71187c8d0ed28ae1f1 (diff)
V805: Decreased performance
Change-Id: I822c5ebc321ebda87c238a1781a31793c1623e34
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/rscpp/cpp3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsc/source/rscpp/cpp3.c b/rsc/source/rscpp/cpp3.c
index ab3eea18e4e5..9c4ae2993075 100644
--- a/rsc/source/rscpp/cpp3.c
+++ b/rsc/source/rscpp/cpp3.c
@@ -349,7 +349,7 @@ int readoptions(char* filename, char*** pfargv)
else
{
*poptbuff = EOS;
- if (strlen(optbuff)>0)
+ if (optbuff[0] != '\0')
{
pfa[fargc + 1] = strdup(optbuff);
fargc++;