projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid forcing an int into a void *
[pspp-builds.git]
/
src
/
math
/
coefficient.c
diff --git
a/src/math/coefficient.c
b/src/math/coefficient.c
index 2feeedbaa8f2aff28ace93a23cd0a72fd0d43436..f738c783f241fedd1137d3100a372c5664b8341b 100644
(file)
--- a/
src/math/coefficient.c
+++ b/
src/math/coefficient.c
@@
-160,7
+160,7
@@
pspp_coeff_var_to_coeff (const struct variable *v, struct pspp_coeff **coefs,
size_t i = 0;
size_t j = 0;
size_t v_idx;
- int found = 0;
+
struct pspp_coeff *result = NULL;
if (v != NULL)
@@
-187,7
+187,7
@@
pspp_coeff_var_to_coeff (const struct variable *v, struct pspp_coeff **coefs,
{
j = i;
while (j < n_coef && compare_values (pspp_coeff_get_value (coefs[j], v),
- val, v
ar_get_width (v)
) != 0)
+ val, v) != 0)
{
j++;
}