Skip to content

Commit

Permalink
remove redundant assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
prsadhuk committed Nov 18, 2024
1 parent 3ac8b1e commit 035d44d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/java.desktop/share/classes/sun/awt/image/ImagingLib.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,11 @@ public static native int lookupByteRaster(Raster src, Raster dst,

static {

boolean success;
boolean success = false;
try {
System.loadLibrary("mlib_image");
success = init();
} catch (UnsatisfiedLinkError e) {
success = false;
}

useLib = Boolean.valueOf(success);
Expand Down

0 comments on commit 035d44d

Please sign in to comment.