diff --git a/lib/extras.php b/lib/extras.php
index f4d9810..994ff30 100644
--- a/lib/extras.php
+++ b/lib/extras.php
@@ -2,7 +2,7 @@
/**
* Clean up the_excerpt()
*/
-function roots_excerpt_more($more) {
+function roots_excerpt_more() {
return ' … ' . __('Continued', 'roots') . '';
}
add_filter('excerpt_more', 'roots_excerpt_more');
diff --git a/lib/gallery.php b/lib/gallery.php
index 67f4d01..975a8ed 100644
--- a/lib/gallery.php
+++ b/lib/gallery.php
@@ -123,7 +123,6 @@ if (current_theme_supports('bootstrap-gallery')) {
* Add class="thumbnail img-thumbnail" to attachment items
*/
function roots_attachment_link_class($html) {
- $postid = get_the_ID();
$html = str_replace('