From 345926296f748db5ff283ce69c0ed4d563fcc8ff Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 18 Aug 2021 22:11:41 -0700 Subject: Updating issues discovered using g++ 10 --- src/unstable/myriadfs.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/unstable') diff --git a/src/unstable/myriadfs.cpp b/src/unstable/myriadfs.cpp index 6b51195..a0e6864 100644 --- a/src/unstable/myriadfs.cpp +++ b/src/unstable/myriadfs.cpp @@ -160,10 +160,10 @@ void Bu::MyriadFs::create( const Bu::String &sPath, uint16_t iPerms, uint32_t uSpecial ) { int32_t iParent = -1; - int32_t iNode; +// int32_t iNode; try { - iNode = lookupInode( sPath, iParent ); + /*iNode =*/ lookupInode( sPath, iParent ); // sio << "File found." << sio.nl; } catch( Bu::MyriadFsException &e ) @@ -180,7 +180,7 @@ void Bu::MyriadFs::create( const Bu::String &sPath, uint16_t iPerms, Bu::String sName = filePart( sPath ); // sio << "End filename: " << sName << sio.nl; // sio << "Parent inode: " << iParent << sio.nl; - iNode = create( iParent, sName, iPerms, uSpecial ); + /*iNode =*/ create( iParent, sName, iPerms, uSpecial ); // sio << "New iNode: " << iNode << sio.nl; } // The file was found -- cgit v1.2.3