mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-28 09:51:37 +08:00
GP-0: Fixing unnecessary semicolon warnings
This commit is contained in:
+3
-3
@@ -4,9 +4,9 @@
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
@@ -364,7 +364,7 @@ public abstract class AbstractEmuUnixSyscallUseropLibrary<T>
|
||||
types("int", "void *", "size_t"));
|
||||
/** "Extern" declaration of {@code unix_write} */
|
||||
final UseropDecl unix_write = userop(type("size_t"), "unix_write",
|
||||
types("int", "void *", "size_t"));;
|
||||
types("int", "void *", "size_t"));
|
||||
|
||||
/**
|
||||
* Inline the gather or scatter pattern for an iovec syscall
|
||||
|
||||
+2
-3
@@ -15,8 +15,7 @@
|
||||
*/
|
||||
package ghidra.pcode.struct.sub;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
import java.lang.invoke.MethodHandles;
|
||||
import java.lang.invoke.MethodHandles.Lookup;
|
||||
@@ -82,7 +81,7 @@ public class StructuredSleighTest extends AbstractGhidraHeadlessIntegrationTest
|
||||
@Test
|
||||
public void testUseRegister() throws Exception {
|
||||
StructuredSleigh ss = new TestStructuredSleigh() {
|
||||
final Var vR0 = reg(r0, type("int"));;
|
||||
final Var vR0 = reg(r0, type("int"));
|
||||
|
||||
@StructuredUserop(type = "int")
|
||||
public void my_userop() {
|
||||
|
||||
Reference in New Issue
Block a user