resolve some compiler warnings with intel c/c++ compiler
[blender.git] / source / blender / blenkernel / intern / suggestions.c
index 54ce425a04a46e07086e4e258bf23c1588e5609d..6530909336ccb50042f01b775e46fb515cc57a80 100644 (file)
 static Text *activeToolText = NULL;
 static SuggList suggestions = {NULL, NULL, NULL, NULL, NULL};
 static char *documentation = NULL;
-static int doc_lines = 0;
+//static int doc_lines = 0;
 
 static int txttl_cmp(const char *first, const char *second, int len) { 
        int cmp, i;
        for (cmp=0, i=0; i<len; i++) {
-               if (cmp= toupper(first[i])-toupper(second[i])) {
+               if ( (cmp= toupper(first[i])-toupper(second[i])) ) {
                        break;
                }
        }