From 8c3d0e0fcf81a60db60c447ec2abd0239274ef47 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Tue, 14 Jan 2014 07:41:03 +0100 Subject: [PATCH] [DEV] code style --- etk/os/FSNode.cpp | 1 - etk/os/FSNodeRight.h | 8 +++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/etk/os/FSNode.cpp b/etk/os/FSNode.cpp index 30931bb..c1a6d77 100644 --- a/etk/os/FSNode.cpp +++ b/etk/os/FSNode.cpp @@ -1227,7 +1227,6 @@ std::vector etk::FSNode::folderGetSubList(bool _showHidenFile, bo size_t pos = tmpString.find('/'); if (pos != std::string::npos) { // a simple folder : - // TODO : Check if the path doesn not already exist !!! tmpString = std::string(tmpString, 0, pos+1); } tmpString = getName() + tmpString; diff --git a/etk/os/FSNodeRight.h b/etk/os/FSNodeRight.h index 7b6007a..ed980e3 100644 --- a/etk/os/FSNodeRight.h +++ b/etk/os/FSNodeRight.h @@ -20,11 +20,13 @@ namespace etk { FSNodeRight(int16_t _newRight); ~FSNodeRight(void) { }; // copy operator : - const etk::FSNodeRight& operator= (const etk::FSNodeRight &_obj ); + const etk::FSNodeRight& operator= (const etk::FSNodeRight &_obj ); // set right : - const etk::FSNodeRight& operator= (const int32_t _newVal ); + const etk::FSNodeRight& operator= (const int32_t _newVal ); - void clear(void) { m_rights = 0; }; + void clear(void) { + m_rights = 0; + }; // User bool isUserReadable(void) const; bool isUserWritable(void) const;