Beheben von einige "warnings"
This commit is contained in:
parent
7d11cc1730
commit
2334b55dd4
0
.ci/clang-tidy.sh
Normal file → Executable file
0
.ci/clang-tidy.sh
Normal file → Executable file
@ -1,12 +1,13 @@
|
|||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <signal.h>
|
|
||||||
#include "../src/SharedMemory.h"
|
|
||||||
#include <sys/shm.h>
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <sys/shm.h>
|
||||||
|
#include <csignal>
|
||||||
|
|
||||||
|
#include "../src/SharedMemory.h"
|
||||||
#include "vkvm.hpp"
|
#include "vkvm.hpp"
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, char** argv) {
|
int main() {
|
||||||
vkvm::initialize(0);
|
vkvm::initialize(0);
|
||||||
initSharedMemory();
|
initSharedMemory();
|
||||||
struct sigaction sigIntHandler;
|
struct sigaction sigIntHandler;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <catch2/catch.hpp>
|
|
||||||
#include "../src/SharedMemory.h"
|
#include "../src/SharedMemory.h"
|
||||||
|
#include <catch2/catch.hpp>
|
||||||
|
|
||||||
TEST_CASE("Demo test") {
|
TEST_CASE("Demo test") {
|
||||||
REQUIRE(42 == 42);
|
REQUIRE(42 == 42);
|
||||||
|
Loading…
Reference in New Issue
Block a user