Remove unused static constant
authorHyunbin Lee <hyunbin.lee@samsung.com>
Thu, 26 Sep 2013 06:35:53 +0000 (15:35 +0900)
committerHyunbin Lee <hyunbin.lee@samsung.com>
Thu, 26 Sep 2013 06:43:46 +0000 (15:43 +0900)
Change-Id: Ic6a5ce68e36c8e6bfe60c9c88cdf9b376ed80aba
Signed-off-by: Hyunbin Lee <hyunbin.lee@samsung.com>
src/io/FIo_DatabaseImpl.cpp
src/io/FIo_FileImpl.cpp
src/io/FIo_FileUtil.cpp
src/io/FIo_MessagePortProxy.cpp
src/io/FIo_NormalFile.cpp
src/io/FIo_SecureIoUtil.cpp
src/io/FIo_SerialPortImpl.cpp

index 9237e56..891e979 100644 (file)
@@ -66,7 +66,6 @@ namespace Tizen { namespace Io
 // maximum argument count that can be passed to register user defined functions
 const int MAX_FUNCTION_ARGUMENT_COUNT = 127;
 const int MAX_UTF8_BYTES = 255;         // maximum length of UTF8 bytes
-const int MAX_MUTEX_NAME_LENGTH = 32;   // maximum length of mutex name
 const int MAX_DATABASE_AES_KEY_LENGTH = 16;    //default key size for AES 128
 const int MAX_DATABASE_SQL_LENGTH = 4096;      //buffer length required to make sql query
 const int MAX_SQLCIPHER_SCHEMA_PREFIX_SIZE = 13;//size of sqlCipher_ schema prefix name.
index 60e73f9..c00edda 100644 (file)
@@ -63,8 +63,6 @@ namespace Tizen { namespace Io
 
 static const int _MAX_PATH_LENGTH = 128;
 static const size_t _MAX_FILE_OPENMODE_LENGTH = 3;
-static const char _INTERNAL_MOUNT_FLAG[] = "/tmp/osp-compat/mount/internal";
-static const char _EXTERNAL_MOUNT_FLAG[] = "/tmp/osp-compat/mount/external";
 
 struct _OspDir
 {
index fd426c3..0edf5d5 100644 (file)
@@ -54,7 +54,6 @@ namespace Tizen { namespace Io
 
 static const int _BASE_YEAR = 1900;
 static const int _MAX_COPY_BYTES = 4096;
-static const int _MAX_OPENMODE_LENGTH = 3;
 
 //Holds app path prefixes
 static const char* filePathAppPrefix[] =
index 1a1c21e..23ad6ea 100644 (file)
@@ -45,7 +45,7 @@ using namespace Tizen::Base::Runtime;
 namespace Tizen { namespace Io
 {
 
-static const int MAX_MESSAGE_SIZE = 16 * 1024;
+//static const int MAX_MESSAGE_SIZE = 16 * 1024;
 
 static void
 ConvertBundleToMap(const char *pKey, const int type, const bundle_keyval_t *pVal, void *pData)
index f4edb77..d23b5a0 100644 (file)
@@ -50,8 +50,6 @@ namespace Tizen { namespace Io
 
 static const int _MAX_LINE_LENGTH = 4096;
 
-#define _MAX_OPENMODE_LENGTH 3
-
 _NormalFile::_NormalFile(void)
        : __pFile(NULL)
 {
index 9f831d9..265db96 100644 (file)
@@ -58,9 +58,6 @@ namespace Tizen { namespace Io
 static const int SECURE_IO_4_BITS = 4;
 static const int SECURE_IO_8_BITS = 8;
 static const int SECURE_IO_3_BYTES = 3;
-static const int SECURE_IO_4_BYTES = 4;
-static const int SECURE_IO_5_BYTES = 5;
-static const int SECURE_IO_8_BYTES = 8;
 static const int SECURE_IO_9_BYTES = 9;
 static const int SECURE_IO_HEX_0F = 0x0f;
 static const int SECURE_IO_HEX_FC = 0xfc;
index cedd85e..44b3d73 100644 (file)
@@ -40,7 +40,6 @@ using namespace Tizen::System;
 namespace Tizen { namespace Io
 {
 
-const wchar_t COMMUNICATION_DISPATCHER_IPC_ID[] = L"osp.app.ipcserver.communicationdispatcher";
 const wchar_t ACCESSORY_MANAGER_SERVICE_ID[] = L"osp.accessorymanager.service";
 const wchar_t SERIAL_COMMAND_OPEN[] = L"Open";
 const wchar_t SERIAL_COMMAND_CLOSE[] = L"Close";