Eina safety: remove unused error string.
authorTom Hacohen <tom@stosb.com>
Wed, 22 Apr 2015 12:06:16 +0000 (13:06 +0100)
committerTom Hacohen <tom@stosb.com>
Wed, 22 Apr 2015 12:06:16 +0000 (13:06 +0100)
At the moment there are no errors possible for safety checks.
This may change in the future (unlikely), so we have the eina_error
already exposed for that. However, there's no need for the string.

One more down towards a warningless build.

src/lib/eina/eina_safety_checks.c

index 5ae59ac..1ee6991 100644 (file)
@@ -60,8 +60,6 @@ eina_safety_checks_shutdown(void)
 
 EAPI Eina_Error EINA_ERROR_SAFETY_FAILED = 0;
 
-static const char EINA_ERROR_SAFETY_FAILED_STR[] = "Safety check failed.";
-
 /**
  * @endcond
  */