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
ec4f5494
Kaydet (Commit)
ec4f5494
authored
Nis 17, 2012
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: declaration of 'errcode' shadows a global declaration
üst
8edf5c5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
sunjavaplugin.cxx
jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
+8
-8
No files found.
jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
Dosyayı görüntüle @
ec4f5494
...
@@ -347,7 +347,7 @@ javaPluginError jfw_plugin_getJavaInfoByPath(
...
@@ -347,7 +347,7 @@ javaPluginError jfw_plugin_getJavaInfoByPath(
sal_Int32
nLenList
,
sal_Int32
nLenList
,
JavaInfo
**
ppInfo
)
JavaInfo
**
ppInfo
)
{
{
javaPluginError
errcode
=
JFW_PLUGIN_E_NONE
;
javaPluginError
err
or
code
=
JFW_PLUGIN_E_NONE
;
OSL_ASSERT
(
path
);
OSL_ASSERT
(
path
);
OSL_ASSERT
(
sVendor
);
OSL_ASSERT
(
sVendor
);
...
@@ -444,7 +444,7 @@ javaPluginError jfw_plugin_getJavaInfoByPath(
...
@@ -444,7 +444,7 @@ javaPluginError jfw_plugin_getJavaInfoByPath(
}
}
*
ppInfo
=
createJavaInfo
(
aVendorInfo
);
*
ppInfo
=
createJavaInfo
(
aVendorInfo
);
return
errcode
;
return
err
or
code
;
}
}
#if defined(WNT)
#if defined(WNT)
...
@@ -571,9 +571,9 @@ javaPluginError jfw_plugin_startJavaVirtualMachine(
...
@@ -571,9 +571,9 @@ javaPluginError jfw_plugin_startJavaVirtualMachine(
// unless guard is volatile the following warning occurs on gcc:
// unless guard is volatile the following warning occurs on gcc:
// warning: variable 't' might be clobbered by `longjmp' or `vfork'
// warning: variable 't' might be clobbered by `longjmp' or `vfork'
volatile
osl
::
MutexGuard
guard
(
PluginMutex
::
get
());
volatile
osl
::
MutexGuard
guard
(
PluginMutex
::
get
());
// unless errcode is volatile the following warning occurs on gcc:
// unless err
or
code is volatile the following warning occurs on gcc:
// warning: variable 'errcode' might be clobbered by `longjmp' or `vfork'
// warning: variable 'err
or
code' might be clobbered by `longjmp' or `vfork'
volatile
javaPluginError
errcode
=
JFW_PLUGIN_E_NONE
;
volatile
javaPluginError
err
or
code
=
JFW_PLUGIN_E_NONE
;
if
(
pInfo
==
NULL
||
ppVm
==
NULL
||
ppEnv
==
NULL
)
if
(
pInfo
==
NULL
||
ppVm
==
NULL
||
ppEnv
==
NULL
)
return
JFW_PLUGIN_E_INVALID_ARG
;
return
JFW_PLUGIN_E_INVALID_ARG
;
//Check if the Vendor (pInfo->sVendor) is supported by this plugin
//Check if the Vendor (pInfo->sVendor) is supported by this plugin
...
@@ -737,13 +737,13 @@ javaPluginError jfw_plugin_startJavaVirtualMachine(
...
@@ -737,13 +737,13 @@ javaPluginError jfw_plugin_startJavaVirtualMachine(
{
{
fprintf
(
stderr
,
"[Java framework] sunjavaplugin"
SAL_DLLEXTENSION
fprintf
(
stderr
,
"[Java framework] sunjavaplugin"
SAL_DLLEXTENSION
"Can not create Java Virtual Machine
\n
"
);
"Can not create Java Virtual Machine
\n
"
);
errcode
=
JFW_PLUGIN_E_VM_CREATION_FAILED
;
err
or
code
=
JFW_PLUGIN_E_VM_CREATION_FAILED
;
}
}
else
if
(
err
>
0
)
else
if
(
err
>
0
)
{
{
fprintf
(
stderr
,
"[Java framework] sunjavaplugin"
SAL_DLLEXTENSION
fprintf
(
stderr
,
"[Java framework] sunjavaplugin"
SAL_DLLEXTENSION
"Can not create JavaVirtualMachine, abort handler was called.
\n
"
);
"Can not create JavaVirtualMachine, abort handler was called.
\n
"
);
errcode
=
JFW_PLUGIN_E_VM_CREATION_FAILED
;
err
or
code
=
JFW_PLUGIN_E_VM_CREATION_FAILED
;
}
}
}
}
else
else
...
@@ -760,7 +760,7 @@ javaPluginError jfw_plugin_startJavaVirtualMachine(
...
@@ -760,7 +760,7 @@ javaPluginError jfw_plugin_startJavaVirtualMachine(
fprintf
(
stderr
,
"lo_get_javavm returns %p"
,
*
ppVm
);
fprintf
(
stderr
,
"lo_get_javavm returns %p"
,
*
ppVm
);
#endif
#endif
return
errcode
;
return
err
or
code
;
}
}
extern
"C"
extern
"C"
...
...
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