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
215269e3
Kaydet (Commit)
215269e3
authored
Eki 10, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Silence some false Covertiy scan warnings about uninitialized members
Change-Id: I5e1d870a60f4c0d4b805c615d0e3c958e856bf8c
üst
acbe968e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
6 deletions
+17
-6
sourceprovider-parser-requires.hxx
unoidl/source/sourceprovider-parser-requires.hxx
+10
-4
sourceprovider-scanner.hxx
unoidl/source/sourceprovider-scanner.hxx
+7
-2
No files found.
unoidl/source/sourceprovider-parser-requires.hxx
Dosyayı görüntüle @
215269e3
...
...
@@ -85,13 +85,18 @@ struct SourceProviderType {
TYPE_INTERFACE
,
TYPE_INSTANTIATED_POLYMORPHIC_STRUCT
,
TYPE_PARAMETER
};
SourceProviderType
()
{}
SourceProviderType
()
:
type
(),
entity
()
// avoid false warnings about uninitialized members
{}
explicit
SourceProviderType
(
Type
theType
)
:
type
(
theType
)
explicit
SourceProviderType
(
Type
theType
)
:
type
(
theType
),
entity
()
// avoid false warnings about uninitialized member
{
assert
(
theType
<=
TYPE_ANY
);
}
explicit
SourceProviderType
(
SourceProviderType
const
*
componentType
)
:
type
(
TYPE_SEQUENCE
)
type
(
TYPE_SEQUENCE
),
entity
()
// avoid false warnings about uninitialized member
{
assert
(
componentType
!=
0
);
subtypes
.
push_back
(
*
componentType
);
}
SourceProviderType
(
...
...
@@ -113,7 +118,8 @@ struct SourceProviderType {
{
assert
(
theEntity
!=
0
);
}
explicit
SourceProviderType
(
OUString
const
&
identifier
)
:
type
(
TYPE_PARAMETER
),
name
(
identifier
)
type
(
TYPE_PARAMETER
),
name
(
identifier
),
entity
()
// avoid false warnings about uninitialized member
{}
OUString
getName
()
const
;
...
...
unoidl/source/sourceprovider-scanner.hxx
Dosyayı görüntüle @
215269e3
...
...
@@ -233,7 +233,9 @@ struct SourceProviderEntity {
explicit
SourceProviderEntity
(
Kind
theKind
)
:
kind
(
theKind
)
{
assert
(
theKind
>=
KIND_INTERFACE_DECL
);
}
SourceProviderEntity
()
{}
// needed for std::map::operator []
SourceProviderEntity
()
:
// needed for std::map::operator []
kind
()
// avoid false warnings about uninitialized members
{}
Kind
kind
;
rtl
::
Reference
<
unoidl
::
Entity
>
entity
;
...
...
@@ -243,7 +245,10 @@ struct SourceProviderEntity {
struct
SourceProviderScannerData
{
SourceProviderScannerData
(
rtl
::
Reference
<
unoidl
::
Manager
>
const
&
theManager
)
:
manager
(
theManager
),
errorLine
(
0
)
manager
(
theManager
),
sourcePosition
(),
sourceEnd
(),
// avoid false warnings about uninitialized members
errorLine
(
0
)
{
assert
(
manager
.
is
());
}
void
setSource
(
void
const
*
address
,
sal_uInt64
size
)
{
...
...
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