Skip to content

Commit 748bc99

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 8cceb65 commit 748bc99

176 files changed

Lines changed: 2 additions & 272 deletions

File tree

Some content is hidden

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

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);
@@ -1486,7 +1485,6 @@ protected override void OnKeyDown(KeyEventArgs e)
14861485
else
14871486
{
14881487
SelectRow(_lastSelectedRow.Value + 1, true);
1489-
14901488
}
14911489

14921490
Refresh();
@@ -1556,15 +1554,15 @@ protected override void OnKeyDown(KeyEventArgs e)
15561554
//jump to above marker with selection courser
15571555
if (LetKeysModifySelection)
15581556
{
1559-
1557+
// TODO
15601558
}
15611559
}
15621560
else if (e.IsCtrl(Keys.PageDown))
15631561
{
15641562
//jump to below marker with selection courser
15651563
if (LetKeysModifySelection)
15661564
{
1567-
1565+
// TODO
15681566
}
15691567
}
15701568
}

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)