Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
8fc65666
Kaydet (Commit)
8fc65666
authored
Eki 03, 2011
tarafından
Pierre-André Jacquod
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cppcheck scope reduction in dmake/getinp.c
üst
2b6ef29f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
getinp.c
dmake/getinp.c
+2
-3
No files found.
dmake/getinp.c
Dosyayı görüntüle @
8fc65666
...
...
@@ -731,7 +731,6 @@ int partcomp( char* lhs, int opcode )
int
result
,
opsind
;
const
int
localopscount
=
4
;
char
*
localops
[]
=
{
"=="
,
"!="
,
"<="
,
">="
};
int
lint
,
rint
;
#define EQUAL 0
#define NOTEQUAL 1
...
...
@@ -817,8 +816,8 @@ int partcomp( char* lhs, int opcode )
if
(
rhs
&&
rhs
[
0
]
==
'"'
)
rhs
++
;
/* Empty strings evaluate to zero. */
lint
=
lhs
?
atoi
(
lhs
)
:
0
;
rint
=
rhs
?
atoi
(
rhs
)
:
0
;
int
lint
=
lhs
?
atoi
(
lhs
)
:
0
;
int
rint
=
rhs
?
atoi
(
rhs
)
:
0
;
result
=
(
lint
>=
rint
)
?
TRUE
:
FALSE
;
if
(
opsind
==
LESS_EQUAL
&&
lint
!=
rint
)
result
=
!
result
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment