|
From: <cre...@us...> - 2006-09-09 18:53:54
|
Revision: 1499
http://svn.sourceforge.net/frontierkernel/?rev=1499&view=rev
Author: creecode
Date: 2006-09-09 11:53:51 -0700 (Sat, 09 Sep 2006)
Log Message:
-----------
minor code tweak, no functional change
Modified Paths:
--------------
Frontier/branches/FSRef_Migration/Common/source/file.c
Modified: Frontier/branches/FSRef_Migration/Common/source/file.c
===================================================================
--- Frontier/branches/FSRef_Migration/Common/source/file.c 2006-09-08 18:05:22 UTC (rev 1498)
+++ Frontier/branches/FSRef_Migration/Common/source/file.c 2006-09-09 18:53:51 UTC (rev 1499)
@@ -482,12 +482,10 @@
pb = (ParamBlockRec *) NewPtrClear (sizeof (ParamBlockRec));
FSCatalogInfo catalogInfo;
- OSStatus status;
-
- // clearbytes ( &catalogInfo, longsizeof ( catalogInfo ) );
-
- status = FSGetCatalogInfo ( &( *fs ).fsref, kFSCatInfoVolume, &catalogInfo, NULL, NULL, NULL );
+ OSErr err;
+ err = FSGetCatalogInfo ( &( *fs ).fsref, kFSCatInfoVolume, &catalogInfo, NULL, NULL, NULL );
+
(*pb).volumeParam.ioVRefNum = catalogInfo.volume;
(*pb).volumeParam.ioCompletion = iocompletionUPP;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|