From e4d41acdc6bb061ba151c361bd8bce340b72a223 Mon Sep 17 00:00:00 2001 From: iphydf Date: Sun, 31 Jul 2016 22:47:32 +0100 Subject: [PATCH] chore: Return a well-defined value from setAutorun. There is no documentation about what this function is supposed to do or what it should return, so I'm just guessing it's a success boolean, so it should be returning true. --- src/platform/autorun_osx.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/autorun_osx.cpp b/src/platform/autorun_osx.cpp index 6a5571446..1fdb7911f 100644 --- a/src/platform/autorun_osx.cpp +++ b/src/platform/autorun_osx.cpp @@ -38,6 +38,7 @@ bool Platform::setAutorun(bool on) state = on; autoRun.setValue("RunAtLoad", state); + return true; } bool Platform::getAutorun()