Removed return EXIT_SUCCESS and cstdlib

This commit is contained in:
Shiv 2023-01-23 14:30:48 +05:30 committed by GitHub
parent 9b1b0f5b07
commit ca5ca65004
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 0 additions and 28 deletions

View File

@ -63,8 +63,6 @@
/// // Update the window
/// window.display();
/// }
///
/// return EXIT_SUCCESS;
/// }
/// \endcode
////////////////////////////////////////////////////////////

View File

@ -299,6 +299,4 @@ int main()
// Close the display
XCloseDisplay(display);
return EXIT_SUCCESS;
}

View File

@ -204,6 +204,4 @@ int main()
std::cout << "Press enter to exit..." << std::endl;
std::cin.ignore(10000, '\n');
std::cin.ignore(10000, '\n');
return EXIT_SUCCESS;
}

View File

@ -276,8 +276,6 @@ int main()
threads.back().join();
threads.pop_back();
}
return EXIT_SUCCESS;
}

View File

@ -456,6 +456,4 @@ int main()
// Finally, display the rendered frame on screen
window.display();
}
return EXIT_SUCCESS;
}

View File

@ -2,7 +2,6 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <cstdlib>
#include <iostream>
@ -54,6 +53,4 @@ int main()
std::cout << "Press enter to exit..." << std::endl;
std::cin.ignore(10000, '\n');
std::cin.ignore(10000, '\n');
return EXIT_SUCCESS;
}

View File

@ -100,6 +100,4 @@ int main()
// Wait until the user presses 'enter' key
std::cout << "Press enter to exit..." << std::endl;
std::cin.ignore(10000, '\n');
return EXIT_SUCCESS;
}

View File

@ -97,6 +97,4 @@ int main()
// Wait until the user presses 'enter' key
std::cout << "Press enter to exit..." << std::endl;
std::cin.ignore(10000, '\n');
return EXIT_SUCCESS;
}

View File

@ -2,7 +2,6 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <cstdlib>
#include <iostream>
@ -44,6 +43,4 @@ int main()
// Wait until the user presses 'enter' key
std::cout << "Press enter to exit..." << std::endl;
std::cin.ignore(10000, '\n');
return EXIT_SUCCESS;
}

View File

@ -2630,6 +2630,4 @@ int main()
VulkanExample example;
example.run();
return EXIT_SUCCESS;
}

View File

@ -165,6 +165,4 @@ int main()
// Don't forget to unregister the window class
UnregisterClass(TEXT("SFML App"), instance);
return EXIT_SUCCESS;
}

View File

@ -91,6 +91,4 @@ int main(int, char const**)
// Update the window
window.display();
}
return EXIT_SUCCESS;
}

View File

@ -89,6 +89,4 @@ int main(int argc, char const** argv)
// Update the window
window.display();
}
return EXIT_SUCCESS;
}