Skip to content

Commit

Permalink
Remove unneeded ameba:disable pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
Sija committed Nov 11, 2024
1 parent ab4a09a commit b6c045b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gphoto2/camera_file.cr
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ module GPhoto2
private def get_mime_type
GPhoto2.check! \
LibGPhoto2.gp_file_get_mime_type(self, out mime_type)
String.new mime_type.not_nil! # ameba:disable Lint/NotNil
String.new mime_type.not_nil!
end

private def set_mime_type(mime_type)
Expand Down

0 comments on commit b6c045b

Please sign in to comment.