Commit a744dd40 authored by Camille Coti's avatar Camille Coti
Browse files

Removed warnings

parent d8aa6421
......@@ -295,10 +295,6 @@ gi::ex multiply_2levels_master( tensor3D_t& T, unsigned int size, MPI_Comm comm
expr_c = NULL;
expr_c = (char*) malloc( 3279 ); // TMP
int i, j;
i = 0;
j = 0;
int receivedresults = 0;
unsigned int N = size/2;
......
......@@ -291,10 +291,6 @@ gi::ex multiply_2levels_master2( tensor3D_t& T, unsigned int size, MPI_Comm comm
expr_c = NULL;
expr_c = (char*) malloc( 3279 ); // TMP
int i, j;
i = 0;
j = 0;
int receivedresults = 0;
unsigned int N = size/2;
......
......@@ -32,10 +32,6 @@ gi::ex multiply_1level_master2( tensor3D_t& T, unsigned int size, MPI_Comm comm
expr_c = NULL;
expr_c = (char*) malloc( 3279 ); // TMP
int i, j;
i = 0;
j = 0;
int receivedresults = 0;
unsigned int N = size/2;
......
......@@ -33,10 +33,6 @@ gi::ex multiply_1level_master_addslave3( tensor3D_t& T, unsigned int size, MPI_C
expr_c = NULL;
expr_c = (char*) malloc( 3279 );
int i, j;
i = 0;
j = 0;
int receivedresults = 0;
unsigned int N = size/2;
......
......@@ -42,7 +42,7 @@ gi::ex add_expressions_parall( std::vector<std::string> expressions, gi::lst sym
int expr = 0;
int* m_len;
int* m_disp;
char* toto;
char* toto = NULL;
int totallen = 0;
MPI_Comm_rank( comm, &rank );
......@@ -87,7 +87,7 @@ gi::ex add_expressions_parall( std::vector<std::string> expressions, gi::lst sym
}
/* How much are we going to send: stop at a + or - sign (and keep the sign) */
while( !( s[end] == '+' || s[end] == '-' || end == s.length() - 1) ){
while( !( s[end] == '+' || s[end] == '-' || end == (int)s.length() - 1) ){
end++;
}
end--;
......@@ -143,7 +143,7 @@ gi::ex add_expressions_parall( std::vector<std::string> expressions, gi::lst sym
/* Allocate the reception buffer */
unsigned int maxlen = 0;
int maxlen = 0;
std::vector<std::string> results_s;
for( expr = 0 ; expr < nb ; expr++ ) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment