devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=0de64f2d91ffa4bcf106b0b0bef2fb5f8783e122

commit 0de64f2d91ffa4bcf106b0b0bef2fb5f8783e122
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Apr 27 09:46:45 2020 -0400

    elm/cnp: remove const from static function return
    
    this makes no sense
    
    ../src/lib/elementary/elm_cnp.c:54:15: warning: type qualifiers ignored on 
function return type [-Wignored-qualifiers]
       54 | static inline const Elm_Sel_Format
    
    Reviewed-by: Christopher Michael <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D11759
---
 src/lib/elementary/elm_cnp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_cnp.c b/src/lib/elementary/elm_cnp.c
index 1833c0b3d4..81963a65d9 100644
--- a/src/lib/elementary/elm_cnp.c
+++ b/src/lib/elementary/elm_cnp.c
@@ -51,7 +51,7 @@ _elm_sel_format_to_mime_type(Elm_Sel_Format format)
    return ret;
 }
 
-static inline const Elm_Sel_Format
+static inline Elm_Sel_Format
 _mime_type_to_elm_sel_format(const char *mime_type)
 {
    if (eina_streq(mime_type, "text/vcard"))

-- 


Reply via email to