Skip to content

Commit

Permalink
use ErrNoExifData as it is
Browse files Browse the repository at this point in the history
  • Loading branch information
nna774 committed Nov 6, 2020
1 parent 33e82e3 commit c9b6307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exif.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (d *Data) Parse() error {

exifData := C.exif_loader_get_data(d.exifLoader)
if exifData == nil {
return fmt.Errorf(ErrNoExifData.Error(), "")
return ErrNoExifData
}

defer func() {
Expand Down

0 comments on commit c9b6307

Please sign in to comment.