[Pkg-owncloud-commits] [owncloud] 32/73: mark unused variables

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:09:04 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.0.10
in repository owncloud.

commit 76ccd69cec0cb608fd02df8f9eb0a25eb9055887
Author: Niko Ehrenfeuchter <gitorious at he1ix.org>
Date:   Mon Jun 4 00:41:32 2012 +0200

    mark unused variables
---
 lib/filecache.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/filecache.php b/lib/filecache.php
index 7df348c..8ed917b 100644
--- a/lib/filecache.php
+++ b/lib/filecache.php
@@ -506,12 +506,12 @@ class OC_FileCache{
 		$newPath=$params['newpath'];
 		$fullOldPath=$root.$oldPath;
 		$fullNewPath=$root.$newPath;
-		if(($id=self::getFileId($fullOldPath))!=-1){
+		if(($id=self::getFileId($fullOldPath))!=-1){ // $id is unused later on!
 			$oldSize=self::getCachedSize($oldPath,$root);
 		}else{
 			return;
 		}
-		$size=OC_Filesystem::filesize($newPath);
+		$size=OC_Filesystem::filesize($newPath); // $size is unused later on!
 		self::increaseSize(dirname($fullOldPath),-$oldSize);
 		self::increaseSize(dirname($fullNewPath),$oldSize);
 		self::move($oldPath,$newPath);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list