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
2ee689b5
Kaydet (Commit)
2ee689b5
authored
Kas 10, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:nullptr (automatic rewrite)
Change-Id: I3ae78d781e686bfe9b0513183da7fc8edd81024b
üst
d24db9df
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
_macro.c
soltools/cpp/_macro.c
+1
-1
_mcrvalid.c
soltools/cpp/_mcrvalid.c
+5
-5
_nlist.c
soltools/cpp/_nlist.c
+1
-1
cppsetup.c
soltools/mkdepend/cppsetup.c
+1
-1
No files found.
soltools/cpp/_macro.c
Dosyayı görüntüle @
2ee689b5
...
...
@@ -376,7 +376,7 @@ void
}
else
{
/* tp is == lp, therefore does not point to valid memory: */
mvl_add
(
pValidators
,
np
,
0
);
mvl_add
(
pValidators
,
np
,
NULL
);
}
/* reset trp->tp to original position:
*/
...
...
soltools/cpp/_mcrvalid.c
Dosyayı görüntüle @
2ee689b5
...
...
@@ -26,7 +26,7 @@
void
mvl_init
(
MacroValidatorList
*
out_pValidators
)
{
out_pValidators
->
pFirst
=
0
;
out_pValidators
->
pFirst
=
NULL
;
out_pValidators
->
nextFreeIdentifier
=
1
;
}
...
...
@@ -36,7 +36,7 @@ mvl_destruct(MacroValidatorList * out_pValidators)
MacroValidator
*
pV
=
out_pValidators
->
pFirst
;
MacroValidator
*
pDel
;
for
(
pDel
=
out_pValidators
->
pFirst
;
pDel
!=
0
;
pDel
!=
NULL
;
pDel
=
pV
)
{
pV
=
pV
->
pNext
;
...
...
@@ -62,7 +62,7 @@ mvl_add( MacroValidatorList * inout_pValidators,
MacroValidator
*
pNew
=
new
(
MacroValidator
);
pNew
->
pMacro
=
in_pMacro
;
if
(
in_pTokenWhereMacroBecomesValid
==
0
)
if
(
in_pTokenWhereMacroBecomesValid
==
NULL
)
{
pNew
->
nTokenWhereMacroBecomesValid
=
INVALID_TILL_ENDOFROW
;
}
...
...
@@ -87,10 +87,10 @@ mvl_check( MacroValidatorList * inout_pValidators,
{
MacroValidator
*
pV
;
/* Running pointer */
MacroValidator
*
pCheckedOnes
;
/* Here new list is built. */
pCheckedOnes
=
0
;
pCheckedOnes
=
NULL
;
for
(
pV
=
inout_pValidators
->
pFirst
;
pV
!=
0
;
pV
!=
NULL
;
pV
=
inout_pValidators
->
pFirst
)
{
inout_pValidators
->
pFirst
=
pV
->
pNext
;
...
...
soltools/cpp/_nlist.c
Dosyayı görüntüle @
2ee689b5
...
...
@@ -94,7 +94,7 @@ void
kwdefined
=
np
;
np
->
val
=
NAME
;
np
->
vp
=
&
deftr
;
np
->
ap
=
0
;
np
->
ap
=
NULL
;
}
}
}
...
...
soltools/mkdepend/cppsetup.c
Dosyayı görüntüle @
2ee689b5
...
...
@@ -156,7 +156,7 @@ _lookup_variable (const char *var, size_t len)
char
tmpbuf
[
MAXNAMELEN
+
1
];
if
(
len
>
MAXNAMELEN
)
return
0
;
return
NULL
;
strncpy
(
tmpbuf
,
var
,
len
);
tmpbuf
[
len
]
=
'\0'
;
...
...
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