]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/smpi_memory.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
don't test pointers after dereferencing them (thanks, sonar)
[simgrid.git] / src / smpi / smpi_memory.cpp
index eb6a52bddfc0fea10b14432225c3272b0882dfa2..ec7ee46b18b75a6fca603971f8975ef7d9271c55 100644 (file)
@@ -27,7 +27,7 @@ static const int PROT_RWX = (PROT_READ | PROT_WRITE | PROT_EXEC);
 static const int PROT_RW  = (PROT_READ | PROT_WRITE );
 XBT_ATTRIB_UNUSED static const int PROT_RX  = (PROT_READ | PROT_EXEC );
 
-void smpi_get_executable_global_size(void)
+void smpi_get_executable_global_size()
 {
   char buffer[PATH_MAX];
   char* full_name = realpath(xbt_binary_name, buffer);