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
3332802f
Kaydet (Commit)
3332802f
authored
Ock 25, 2011
tarafından
Kenneth Venken
Kaydeden (comit)
Caolán McNamara
Ock 26, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Cpp cleanliness: redundant assignment to self
üst
dd9197c7
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
22 deletions
+9
-22
diagnose.c
sal/osl/w32/diagnose.c
+2
-4
file_dirvol.cxx
sal/osl/w32/file_dirvol.cxx
+3
-9
module.cxx
sal/osl/w32/module.cxx
+1
-3
socket.cxx
sal/osl/w32/socket.cxx
+2
-4
util.c
sal/osl/w32/util.c
+1
-2
No files found.
sal/osl/w32/diagnose.c
Dosyayı görüntüle @
3332802f
...
...
@@ -161,10 +161,10 @@ sal_Bool SAL_CALL osl_assertFailedLine(const sal_Char* pszFileName, sal_Int32 nL
return
sal_True
;
/* will cause oslDebugBreak */
}
#endif
/* NO_DEBUG_CRT */
return
sal_False
;
/* not s
hure, no
t care */
return
sal_False
;
/* not s
ure, don'
t care */
}
sal_Int32
SAL_CALL
osl_reportError
(
sal_uInt32
nType
,
const
sal_Char
*
pszMessage
)
sal_Int32
SAL_CALL
osl_reportError
(
sal_uInt32
/*nType*/
,
const
sal_Char
*
pszMessage
)
{
UINT
nFlags
;
int
nDisposition
;
...
...
@@ -174,8 +174,6 @@ sal_Int32 SAL_CALL osl_reportError(sal_uInt32 nType, const sal_Char* pszMessage)
if
(
hWndParent
!=
NULL
)
hWndParent
=
GetLastActivePopup
(
hWndParent
);
nType
=
nType
;
/* avoid warnings */
/* set message box flags */
nFlags
=
MB_TASKMODAL
|
MB_ICONERROR
|
MB_YESNOCANCEL
|
MB_DEFBUTTON2
|
MB_SETFOREGROUND
;
if
(
hWndParent
==
NULL
)
...
...
sal/osl/w32/file_dirvol.cxx
Dosyayı görüntüle @
3332802f
...
...
@@ -844,7 +844,7 @@ oslFileError SAL_CALL osl_openDirectory(rtl_uString *strDirectoryPath, oslDirect
//#####################################################
static
oslFileError
SAL_CALL
osl_getNextNetResource
(
oslDirectory
Directory
,
oslDirectoryItem
*
pItem
,
sal_uInt32
uHint
)
oslDirectory
Directory
,
oslDirectoryItem
*
pItem
,
sal_uInt32
/*uHint*/
)
{
Directory_Impl
*
pDirImpl
=
(
Directory_Impl
*
)
Directory
;
DirectoryItem_Impl
*
pItemImpl
=
NULL
;
...
...
@@ -852,8 +852,6 @@ static oslFileError SAL_CALL osl_getNextNetResource(
LPNETRESOURCEW
lpNetResource
=
(
LPNETRESOURCEW
)
buffer
;
DWORD
dwError
,
dwCount
,
dwBufSize
;
uHint
=
uHint
;
/* to get no warning */
if
(
!
pItem
)
return
osl_File_E_INVAL
;
*
pItem
=
NULL
;
...
...
@@ -892,14 +890,12 @@ static oslFileError SAL_CALL osl_getNextNetResource(
//#####################################################
static
oslFileError
SAL_CALL
osl_getNextDrive
(
oslDirectory
Directory
,
oslDirectoryItem
*
pItem
,
sal_uInt32
uHint
)
oslDirectory
Directory
,
oslDirectoryItem
*
pItem
,
sal_uInt32
/*uHint*/
)
{
Directory_Impl
*
pDirImpl
=
(
Directory_Impl
*
)
Directory
;
DirectoryItem_Impl
*
pItemImpl
=
NULL
;
BOOL
fSuccess
;
uHint
=
uHint
;
/* avoid warnings */
if
(
!
pItem
)
return
osl_File_E_INVAL
;
*
pItem
=
NULL
;
...
...
@@ -936,14 +932,12 @@ static oslFileError SAL_CALL osl_getNextDrive(
//#####################################################
static
oslFileError
SAL_CALL
osl_getNextFileItem
(
oslDirectory
Directory
,
oslDirectoryItem
*
pItem
,
sal_uInt32
uHint
)
oslDirectory
Directory
,
oslDirectoryItem
*
pItem
,
sal_uInt32
/*uHint*/
)
{
Directory_Impl
*
pDirImpl
=
(
Directory_Impl
*
)
Directory
;
DirectoryItem_Impl
*
pItemImpl
=
NULL
;
BOOL
fFound
;
uHint
=
uHint
;
/* avoid warnings */
if
(
!
pItem
)
return
osl_File_E_INVAL
;
*
pItem
=
NULL
;
...
...
sal/osl/w32/module.cxx
Dosyayı görüntüle @
3332802f
...
...
@@ -46,7 +46,7 @@
/*****************************************************************************/
/* osl_loadModule */
/*****************************************************************************/
oslModule
SAL_CALL
osl_loadModule
(
rtl_uString
*
strModuleName
,
sal_Int32
nRtldMode
)
oslModule
SAL_CALL
osl_loadModule
(
rtl_uString
*
strModuleName
,
sal_Int32
/*nRtldMode*/
)
{
HINSTANCE
hInstance
;
#if OSL_DEBUG_LEVEL < 2
...
...
@@ -60,8 +60,6 @@ oslModule SAL_CALL osl_loadModule(rtl_uString *strModuleName, sal_Int32 nRtldMod
OSL_ASSERT
(
strModuleName
);
nRtldMode
=
nRtldMode
;
/* avoid warnings */
nError
=
osl_getSystemPathFromFileURL
(
strModuleName
,
&
Module
);
if
(
osl_File_E_None
!=
nError
)
...
...
sal/osl/w32/socket.cxx
Dosyayı görüntüle @
3332802f
...
...
@@ -308,9 +308,9 @@ static oslSocketDialupImpl* __osl_createSocketDialupImpl (void)
*/
static
void
__osl_initSocketDialupImpl
(
oslSocketDialupImpl
*
pImpl
)
{
#ifdef SOCKET_USE_AUTODIAL
if
(
pImpl
)
{
#ifdef SOCKET_USE_AUTODIAL
HINSTANCE
hModule
;
EnterCriticalSection
(
&
pImpl
->
m_hMutex
);
...
...
@@ -330,10 +330,8 @@ static void __osl_initSocketDialupImpl (oslSocketDialupImpl *pImpl)
}
LeaveCriticalSection
(
&
pImpl
->
m_hMutex
);
}
#else
pImpl
=
pImpl
;
/* avoid warnings */
#endif
}
}
/*
...
...
sal/osl/w32/util.c
Dosyayı görüntüle @
3332802f
...
...
@@ -30,9 +30,8 @@
extern
sal_Bool
SAL_CALL
osl_getEthernetAddress
(
sal_uInt8
*
pAddr
)
extern
sal_Bool
SAL_CALL
osl_getEthernetAddress
(
sal_uInt8
*
/*pAddr*/
)
{
pAddr
=
pAddr
;
/* avoid warnings */
return
sal_False
;
}
...
...
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