Skip to content

Commit

Permalink
Fix warnings from #1903 (#1906)
Browse files Browse the repository at this point in the history
  • Loading branch information
olupton authored Jul 7, 2022
1 parent e53cf19 commit 40c8cb4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/neuron-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,7 @@ jobs:
-Wno-unused-function \
-Wno-unused-but-set-variable \
-Wno-reorder \
-Wno-sign-compare \
-Wno-strict-aliasing" \
-Wno-sign-compare" \
-DNRN_EXTRA_MECH_CXX_FLAGS="-Wno-sometimes-uninitialized \
-Wno-missing-braces")
fi
Expand Down
1 change: 0 additions & 1 deletion src/ivoc/ocjump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ class OcJumpImpl {
// hoc_oop
Object* o1;
Objectdata* o2;
int* o3;
int o4;
Symlist* o5;

Expand Down
7 changes: 1 addition & 6 deletions src/ivoc/ocjump.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef ocjump_h
#define ocjump_h

#pragma once
union Inst;
class OcJumpImpl;
struct Symlist;
Expand All @@ -16,7 +14,6 @@ class ObjectContext {
private:
Object* a1;
Objectdata* a2;
int* a3;
int a4;
Symlist* a5;
bool restored_;
Expand All @@ -35,5 +32,3 @@ class OcJump {
private:
OcJumpImpl* impl_;
};

#endif

0 comments on commit 40c8cb4

Please sign in to comment.