summaryrefslogtreecommitdiff
path: root/sfx2/source/appl
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r--sfx2/source/appl/shutdownicon.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx
index 031c395cf3c0..4978363c5ad9 100644
--- a/sfx2/source/appl/shutdownicon.cxx
+++ b/sfx2/source/appl/shutdownicon.cxx
@@ -783,8 +783,8 @@ void ShutdownIcon::SetAutostart( bool bActivate )
if ((0 != symlink(aDesktopFileUnx.getStr(), aShortcutUnx.getStr())) && (errno == EEXIST))
{
unlink(aShortcutUnx.getStr());
- int ret = symlink(aDesktopFileUnx.getStr(), aShortcutUnx.getStr());
- (void)ret; //deliberately ignore return value, it's non-critical if it fails
+ (void) symlink(aDesktopFileUnx.getStr(), aShortcutUnx.getStr());
+ //deliberately ignore return value, it's non-critical if it fails
}
ShutdownIcon *pIcon = ShutdownIcon::createInstance();