diff options
author | Mike Buland <eichlan@xagasoft.com> | 2021-08-18 22:11:41 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2021-08-18 22:11:41 -0700 |
commit | 345926296f748db5ff283ce69c0ed4d563fcc8ff (patch) | |
tree | 3aa50962107cb903bbf30bb2540c19d25bda5adf /src/unstable/myriadfs.cpp | |
parent | 52833d24ba86c3e0fe90a12d65f6dc529e9280b7 (diff) | |
download | libbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.tar.gz libbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.tar.bz2 libbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.tar.xz libbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.zip |
Updating issues discovered using g++ 10
Diffstat (limited to '')
-rw-r--r-- | src/unstable/myriadfs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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, | |||
160 | uint32_t uSpecial ) | 160 | uint32_t uSpecial ) |
161 | { | 161 | { |
162 | int32_t iParent = -1; | 162 | int32_t iParent = -1; |
163 | int32_t iNode; | 163 | // int32_t iNode; |
164 | try | 164 | try |
165 | { | 165 | { |
166 | iNode = lookupInode( sPath, iParent ); | 166 | /*iNode =*/ lookupInode( sPath, iParent ); |
167 | // sio << "File found." << sio.nl; | 167 | // sio << "File found." << sio.nl; |
168 | } | 168 | } |
169 | catch( Bu::MyriadFsException &e ) | 169 | catch( Bu::MyriadFsException &e ) |
@@ -180,7 +180,7 @@ void Bu::MyriadFs::create( const Bu::String &sPath, uint16_t iPerms, | |||
180 | Bu::String sName = filePart( sPath ); | 180 | Bu::String sName = filePart( sPath ); |
181 | // sio << "End filename: " << sName << sio.nl; | 181 | // sio << "End filename: " << sName << sio.nl; |
182 | // sio << "Parent inode: " << iParent << sio.nl; | 182 | // sio << "Parent inode: " << iParent << sio.nl; |
183 | iNode = create( iParent, sName, iPerms, uSpecial ); | 183 | /*iNode =*/ create( iParent, sName, iPerms, uSpecial ); |
184 | // sio << "New iNode: " << iNode << sio.nl; | 184 | // sio << "New iNode: " << iNode << sio.nl; |
185 | } | 185 | } |
186 | // The file was found | 186 | // The file was found |