basic/source/runtime/methods.cxx  |   15 +++------------
 basic/source/runtime/methods1.cxx |   10 ++--------
 2 files changed, 5 insertions(+), 20 deletions(-)

New commits:
commit fffc6b40b933f640a412233988bbb74bf6138af4
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Thu Nov 18 12:18:25 2021 +0200
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Thu Nov 18 13:05:44 2021 +0100

    Drop unused argument names, and (void) noise
    
    Change-Id: I75f313924db7d6a0658f9d7cc1d571767cec3144
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125364
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 7dfde6184b0d..7e9a1adcccd7 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -389,11 +389,8 @@ extern "C" void invalidParameterHandler(
 
 #endif
 
-void SbRtl_CurDir(StarBASIC * pBasic, SbxArray & rPar, bool bWrite)
+void SbRtl_CurDir(StarBASIC *, SbxArray & rPar, bool)
 {
-    (void)pBasic;
-    (void)bWrite;
-
     // #57064 Although this function doesn't work with DirEntry, it isn't 
touched
     // by the adjustment to virtual URLs, as, using the DirEntry-functionality,
     // there's no possibility to detect the current one in a way that a 
virtual URL
@@ -1651,11 +1648,8 @@ void SbRtl_UCase(StarBASIC *, SbxArray & rPar, bool)
 }
 
 
-void SbRtl_Val(StarBASIC * pBasic, SbxArray & rPar, bool bWrite)
+void SbRtl_Val(StarBASIC *, SbxArray & rPar, bool)
 {
-    (void)pBasic;
-    (void)bWrite;
-
     if (rPar.Count() < 2)
     {
         StarBASIC::Error( ERRCODE_BASIC_BAD_ARGUMENT );
@@ -2920,11 +2914,8 @@ void SbRtl_Dir(StarBASIC *, SbxArray & rPar, bool)
 }
 
 
-void SbRtl_GetAttr(StarBASIC * pBasic, SbxArray & rPar, bool bWrite)
+void SbRtl_GetAttr(StarBASIC *, SbxArray & rPar, bool)
 {
-    (void)pBasic;
-    (void)bWrite;
-
     if (rPar.Count() == 2)
     {
         sal_Int16 nFlags = 0;
diff --git a/basic/source/runtime/methods1.cxx 
b/basic/source/runtime/methods1.cxx
index a7212fc13151..117e84d73000 100644
--- a/basic/source/runtime/methods1.cxx
+++ b/basic/source/runtime/methods1.cxx
@@ -254,11 +254,8 @@ void SbRtl_CCur(StarBASIC *, SbxArray & rPar, bool)
     rPar.Get(0)->PutCurrency(nCur);
 }
 
-void SbRtl_CDec(StarBASIC * pBasic, SbxArray & rPar, bool bWrite)
+void SbRtl_CDec(StarBASIC *, SbxArray & rPar, bool)
 {
-    (void)pBasic;
-    (void)bWrite;
-
 #ifdef _WIN32
     SbxDecimal* pDec = nullptr;
     if (rPar.Count() == 2)
@@ -458,11 +455,8 @@ void SbRtl_GetSystemType(StarBASIC *, SbxArray & rPar, 
bool)
     }
 }
 
-void SbRtl_GetGUIType(StarBASIC * pBasic, SbxArray & rPar, bool bWrite)
+void SbRtl_GetGUIType(StarBASIC *, SbxArray & rPar, bool)
 {
-    (void)pBasic;
-    (void)bWrite;
-
     if (rPar.Count() != 1)
     {
         StarBASIC::Error( ERRCODE_BASIC_BAD_ARGUMENT );

Reply via email to