discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=574bf220d5a243d6fee4acbd8e8bfb0692f19ae0

commit 574bf220d5a243d6fee4acbd8e8bfb0692f19ae0
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Jan 6 12:56:22 2017 -0500

    mark strftime calls using struct tm in e_slider as safe
    
    disable -Wformat-nonliteral temporarily
---
 src/bin/e_slider.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_slider.c b/src/bin/e_slider.c
index ed56057..dfdd198 100644
--- a/src/bin/e_slider.c
+++ b/src/bin/e_slider.c
@@ -358,8 +358,9 @@ _e_smart_format_update(E_Smart_Data *sd)
    if (sd->format)
      {
         char buf[256];
-
+DISABLE_WARNING(format-nonliteral, format-nonliteral, format-nonliteral)
         snprintf(buf, sizeof(buf), sd->format, sd->val);
+ENABLE_WARNING(format-nonliteral, format-nonliteral, format-nonliteral)
         edje_object_part_text_set(sd->edje_obj, "e.text.label", buf);
      }
 }

-- 


Reply via email to