Skip to content
Snippets Groups Projects
Commit 39aefd0d authored by Andrea Censi's avatar Andrea Censi
Browse files

fixed a few warnings

parent 3b0b111e
No related branches found
No related tags found
No related merge requests found
......@@ -96,7 +96,7 @@ int poly_greatest_real_root(unsigned int n, const double*a, double *root) {
fprintf (stderr, "root z%d = %+.18f + %+.18f i \n", i, z[2*i], z[2*i+1]);
}
/* XXX ==0 is bad */
if( (z[2*i+1]==0) ) /* real root */
if( z[2*i+1]==0 ) /* real root */
if(!assigned || (z[2*i]>lambda)) {
assigned = 1;
lambda = z[2*i];
......
......@@ -7,7 +7,7 @@
int main(int argc, char **argv)
{
argc = argc; argv = argv;
argc = 0; argv = (char**)0;
struct json_object *new_obj;
mc_set_debug(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment