Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

build fix

  • Loading branch information...
commit 5c57020a0ed3ad17c6a918aa18f44421e13572c9 1 parent e5e58b4
@Soulou authored
Showing with 2 additions and 3 deletions.
  1. +1 −1  Makefile
  2. +1 −2  thread.c
View
2  Makefile
@@ -1,4 +1,4 @@
-DEBUG=yes
+DEBUG=no
ifeq ($(DEBUG),yes)
CFLAGS=-Wall -W -ansi -g -D DEBUG
View
3  thread.c
@@ -72,8 +72,7 @@ void initThread(int nbthread, int choix)
pthread_t t[nbthread];
struct plage p[9];
- int i, max, min;
- double taille;
+ int i;
for(i = 1; i <= nbthread; i++)
{
p[i].taille = pow((double)2,(double)(18+choix))/(nbthread*2-1);
Please sign in to comment.
Something went wrong with that request. Please try again.