Skip to content

Commit fe7aaa9

Browse files
committed
Fix violations of SA1508 and SA1509 (braces should be preceded by blank line) Don't enable them because they flag some silly things.
1 parent 8286dbf commit fe7aaa9

File tree

176 files changed

+2
-272
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

176 files changed

+2
-272
lines changed

src/BizHawk.Bizware.Graphics/BitmapBuffer.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,5 @@ public void ToSysdrawingBitmap(Bitmap bmp)
614614

615615
bmp.UnlockBits(bmpdata);
616616
}
617-
618617
}
619-
620618
}

src/BizHawk.Bizware.Graphics/Renderers/GuiRenderer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,5 @@ void main()
350350
if(uSamplerEnable) temp *= texture(uSampler0,vTexcoord0);
351351
FragColor = temp;
352352
}";
353-
354353
}
355354
}

src/BizHawk.Bizware.Input/SDL2/SDL2Gamepad.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,4 +368,3 @@ public void SetVibration(int left, int right)
368368
}
369369
}
370370
}
371-

src/BizHawk.Client.Common/Api/HttpCommunication.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ public async Task<string> Post(string url, HttpContent content, bool sendAdvance
8787
catch (Exception e)
8888
{
8989
return e.ToString();
90-
9190
}
9291
if (!response.IsSuccessStatusCode)
9392
{

src/BizHawk.Client.Common/movie/import/YmvImport.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,5 @@ private void ImportTextFrame(string line)
142142
// Convert the data for the controllers to a mnemonic and add it as a frame.
143143
Result.Movie.AppendFrame(controllers);
144144
}
145-
146145
}
147146
}

src/BizHawk.Client.EmuHawk/AVOut/JMDWriter.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,4 @@ public void SetFrame(int frame) { }
803803
public bool UsesAudio => true;
804804
public bool UsesVideo => true;
805805
}
806-
807-
808806
}

src/BizHawk.Client.EmuHawk/CustomControls/ExceptionBox.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,5 @@ protected override void OnPaint(PaintEventArgs e)
7676
e.Graphics.DrawString(this.Text, this.Font, br, rc, fmt);
7777
}
7878
}
79-
8079
}
8180
}

src/BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ protected override void OnDoubleClick(EventArgs e)
196196
_columns.ColumnsChanged();
197197
Refresh();
198198
}
199-
200199
}
201200

202201
base.OnDoubleClick(e);
@@ -1493,7 +1492,6 @@ protected override void OnKeyDown(KeyEventArgs e)
14931492
else
14941493
{
14951494
SelectRow(_lastSelectedRow.Value + 1, true);
1496-
14971495
}
14981496

14991497
Refresh();
@@ -1570,15 +1568,15 @@ protected override void OnKeyDown(KeyEventArgs e)
15701568
//jump to above marker with selection courser
15711569
if (LetKeysModifySelection)
15721570
{
1573-
1571+
// TODO
15741572
}
15751573
}
15761574
else if (e.IsCtrl(Keys.PageDown))
15771575
{
15781576
//jump to below marker with selection courser
15791577
if (LetKeysModifySelection)
15801578
{
1581-
1579+
// TODO
15821580
}
15831581
}
15841582
}

src/BizHawk.Client.EmuHawk/CustomControls/MiscControls.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,4 @@ protected override void OnPaint(PaintEventArgs pevent)
6868
//glyphLoc.Size = new System.Drawing.Size(SystemInformation.MenuCheckSize.Width-1,SystemInformation.MenuCheckSize.Height-1);
6969
}
7070
}
71-
7271
}

src/BizHawk.Client.EmuHawk/CustomControls/MsgBox.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ public void SetButtons(string[] names, DialogResult[] results, int def = 1)
8383
{
8484
_minButtonRowWidth += SetButtonParams(btn3, names[2], def == 3 ? 1 : 4, results[2]) + ButtonSpace;
8585
}
86-
8786
}
8887

8988
/// <summary>

0 commit comments

Comments
 (0)