From 7541d90e82392e5e727d8bdc818c5ec2f7b2bd3e Mon Sep 17 00:00:00 2001 From: zecke Date: Mon, 11 Oct 2004 20:31:43 +0000 Subject: 'return 0' instead of no return from no void function. Lets see if that fix breaks anything --- diff --git a/noncore/settings/aqpkg/ipkg.cpp b/noncore/settings/aqpkg/ipkg.cpp index 17efda9..dd9e78d 100644 --- a/noncore/settings/aqpkg/ipkg.cpp +++ b/noncore/settings/aqpkg/ipkg.cpp @@ -298,6 +298,8 @@ int Ipkg :: executeIpkgLinkCommand( QStringList *cmd ) { emit outputText( tr("Couldn't start ipkg-link process" ) ); } + + return 0; } void Ipkg::linkProcessFinished() @@ -366,6 +368,8 @@ int Ipkg :: executeIpkgCommand( QStringList &cmd, const QString /*option*/ ) { emit outputText( tr("Couldn't start ipkg process" ) ); } + + return 0; } void Ipkg::commandStdout(OProcess*, char *buffer, int buflen) @@ -437,6 +441,7 @@ void Ipkg :: abort() void Ipkg :: linkPackage( const QString &packFileName, const QString &dest, const QString &destDir ) { + Q_CONST_UNUSED( destDir ) if ( dest == "root" || dest == "/" ) return; -- cgit v0.9.0.2