diff --git a/src/dehacked.h b/src/dehacked.h
index 413dfd993ae46cb17099de13b7a78dcc00cce7b9..8832216b84799995cf38c3b1485ea27289912f00 100644
--- a/src/dehacked.h
+++ b/src/dehacked.h
@@ -41,9 +41,6 @@ void DEH_Check(void);
 
 fixed_t get_number(const char *word);
 
-//yellowtd: make get_mus an extern
-extern UINT16 get_mus(const char *word);
-
 #ifdef HAVE_BLUA
 boolean LUA_SetLuaAction(void *state, const char *actiontocompare);
 const char *LUA_GetActionName(void *action);
diff --git a/src/hardware/hw_light.h b/src/hardware/hw_light.h
index d98930de5e7f2e490cec8b3cce439c70add86609..f3085e7adc63225c133728e369cc93ca019e8018 100644
--- a/src/hardware/hw_light.h
+++ b/src/hardware/hw_light.h
@@ -22,8 +22,6 @@
 #include "hw_glob.h"
 #include "hw_defs.h"
 
-#define ALAM_LIGHTING //yellowtd: Define ALAM_LIGHTING for this branch
-
 #define NUMLIGHTFREESLOTS 32 // Free light slots (for SOCs)
 
 #ifdef ALAM_LIGHTING
diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c
index 9e957bc56808314ad596df3a6bdfbe09fecb5fe4..96b211a07594db8a762f20eec5bf723f28485db7 100644
--- a/src/hardware/hw_main.c
+++ b/src/hardware/hw_main.c
@@ -544,7 +544,7 @@ static void HWR_RenderPlane(sector_t *shittyUnusedVariable, extrasubsector_t *xs
 	static FOutVector *planeVerts = NULL;
 	static UINT16 numAllocedPlaneVerts = 0;
 
-	(void)sector; ///@TODO remove shitty unused variable
+	(void)shittyUnusedVariable; ///@TODO remove shitty unused variable
 
 	// no convex poly were generated for this subsector
 	if (!xsub->planepoly)