mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 10:47:02 -07:00
Misc small changes for code quality.
This commit is contained in:
parent
ada50c429a
commit
4dd67df1dd
8 changed files with 17 additions and 17 deletions
|
@ -62,7 +62,7 @@ namespace GreenshotPlugin.Core {
|
|||
private readonly IAccessible accessible;
|
||||
private Accessible[] Children {
|
||||
get {
|
||||
int num = 0;
|
||||
int num;
|
||||
object[] res = GetAccessibleChildren(accessible, out num);
|
||||
if (res == null) {
|
||||
return new Accessible[0];
|
||||
|
|
|
@ -62,9 +62,8 @@ namespace GreenshotPlugin.Core {
|
|||
int index = 0;
|
||||
IDictionary<string, object> value = ParseValue(charArray, ref index, ref success) as IDictionary<string, object>;
|
||||
return value;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
protected static IDictionary<string, object> ParseObject(char[] json, ref int index, ref bool success) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue