projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sparse-array: Use __builtin_ctzl on GCC 4.0 or later, as an optimization.
[pspp-builds.git]
/
src
/
data
/
variable.c
diff --git
a/src/data/variable.c
b/src/data/variable.c
index 30cf03b134666cf8f6db1f457c8e3733b0b311e9..505ae79da395cac5f00de6e57bbcfa91b8fec80e 100644
(file)
--- a/
src/data/variable.c
+++ b/
src/data/variable.c
@@
-323,7
+323,7
@@
hash_var_by_name (const void *v_, const void *aux UNUSED)
{
const struct variable *v = v_;
{
const struct variable *v = v_;
- return h
sh_hash_case_string (v->name
);
+ return h
ash_case_string (v->name, 0
);
}
/* A hsh_compare_func that orders pointers to variables A and B
}
/* A hsh_compare_func that orders pointers to variables A and B
@@
-359,7
+359,7
@@
hash_var_ptr_by_name (const void *v_, const void *aux UNUSED)
{
struct variable *const *v = v_;
{
struct variable *const *v = v_;
- return h
sh_hash_case_string (var_get_name (*v)
);
+ return h
ash_case_string (var_get_name (*v), 0
);
}
\f
/* Returns the type of variable V. */
}
\f
/* Returns the type of variable V. */
@@
-720,8
+720,8
@@
var_set_label (struct variable *v, const char *label)
ss_truncate (&s, 255);
if (!ss_is_empty (s))
v->label = ss_xstrdup (s);
ss_truncate (&s, 255);
if (!ss_is_empty (s))
v->label = ss_xstrdup (s);
- dict_var_changed (v);
}
}
+ dict_var_changed (v);
}
/* Removes any variable label from V. */
}
/* Removes any variable label from V. */