From 6034008444c58bde187a175b7baf9d4edc5148b1 Mon Sep 17 00:00:00 2001 From: Hyunbin Lee Date: Thu, 26 Sep 2013 15:35:53 +0900 Subject: [PATCH] Remove unused static constant Change-Id: Ic6a5ce68e36c8e6bfe60c9c88cdf9b376ed80aba Signed-off-by: Hyunbin Lee --- src/io/FIo_DatabaseImpl.cpp | 1 - src/io/FIo_FileImpl.cpp | 2 -- src/io/FIo_FileUtil.cpp | 1 - src/io/FIo_MessagePortProxy.cpp | 2 +- src/io/FIo_NormalFile.cpp | 2 -- src/io/FIo_SecureIoUtil.cpp | 3 --- src/io/FIo_SerialPortImpl.cpp | 1 - 7 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/io/FIo_DatabaseImpl.cpp b/src/io/FIo_DatabaseImpl.cpp index 9237e56..891e979 100644 --- a/src/io/FIo_DatabaseImpl.cpp +++ b/src/io/FIo_DatabaseImpl.cpp @@ -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. diff --git a/src/io/FIo_FileImpl.cpp b/src/io/FIo_FileImpl.cpp index 60e73f9..c00edda 100644 --- a/src/io/FIo_FileImpl.cpp +++ b/src/io/FIo_FileImpl.cpp @@ -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 { diff --git a/src/io/FIo_FileUtil.cpp b/src/io/FIo_FileUtil.cpp index fd426c3..0edf5d5 100644 --- a/src/io/FIo_FileUtil.cpp +++ b/src/io/FIo_FileUtil.cpp @@ -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[] = diff --git a/src/io/FIo_MessagePortProxy.cpp b/src/io/FIo_MessagePortProxy.cpp index 1a1c21e..23ad6ea 100644 --- a/src/io/FIo_MessagePortProxy.cpp +++ b/src/io/FIo_MessagePortProxy.cpp @@ -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) diff --git a/src/io/FIo_NormalFile.cpp b/src/io/FIo_NormalFile.cpp index f4edb77..d23b5a0 100644 --- a/src/io/FIo_NormalFile.cpp +++ b/src/io/FIo_NormalFile.cpp @@ -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) { diff --git a/src/io/FIo_SecureIoUtil.cpp b/src/io/FIo_SecureIoUtil.cpp index 9f831d9..265db96 100644 --- a/src/io/FIo_SecureIoUtil.cpp +++ b/src/io/FIo_SecureIoUtil.cpp @@ -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; diff --git a/src/io/FIo_SerialPortImpl.cpp b/src/io/FIo_SerialPortImpl.cpp index cedd85e..44b3d73 100644 --- a/src/io/FIo_SerialPortImpl.cpp +++ b/src/io/FIo_SerialPortImpl.cpp @@ -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"; -- 2.7.4