Remove unused origBytes placeholder in compare metadata
This commit is contained in:
parent
3bc0d7da35
commit
597160fadd
3
main.go
3
main.go
|
|
@ -6838,8 +6838,7 @@ func buildCompareView(state *appState) fyne.CanvasObject {
|
||||||
// Helper function to format metadata
|
// Helper function to format metadata
|
||||||
formatMetadata := func(src *videoSource) string {
|
formatMetadata := func(src *videoSource) string {
|
||||||
fileSize := "Unknown"
|
fileSize := "Unknown"
|
||||||
// origBytes reserved for future reduction calc
|
origBytes := int64(0) // reserved for future reduction calc
|
||||||
origBytes := int64(0)
|
|
||||||
if fi, err := os.Stat(src.Path); err == nil {
|
if fi, err := os.Stat(src.Path); err == nil {
|
||||||
origBytes = fi.Size()
|
origBytes = fi.Size()
|
||||||
sizeMB := float64(fi.Size()) / (1024 * 1024)
|
sizeMB := float64(fi.Size()) / (1024 * 1024)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user