diff --git a/code/game/objects/items/weapons/shards.dm b/code/game/objects/items/weapons/shards.dm
index ee3eb8349f00..ce0a58932858 100644
--- a/code/game/objects/items/weapons/shards.dm
+++ b/code/game/objects/items/weapons/shards.dm
@@ -66,7 +66,7 @@
. = TRUE
if(!I.use_tool(src, user, volume = I.tool_volume))
return
- var/obj/item/stack/sheet/new_glass = new welded_type(user.loc)
+ new welded_type(user.loc)
to_chat(user, "You add the newly-formed glass to the stack.")
qdel(src)
diff --git a/code/modules/hydroponics/grown/towercap.dm b/code/modules/hydroponics/grown/towercap.dm
index 906321950542..484afa4f43fc 100644
--- a/code/modules/hydroponics/grown/towercap.dm
+++ b/code/modules/hydroponics/grown/towercap.dm
@@ -61,7 +61,7 @@
var/seed_modifier = 0
if(seed)
seed_modifier = round(seed.potency / 25)
- var/obj/item/stack/plank = new plank_type(user.loc, 1 + seed_modifier)
+ new plank_type(user.loc, 1 + seed_modifier)
to_chat(user, "You add the newly-formed [plank_name] to the stack.")
qdel(src)