Skip to content

Commit dae548b

Browse files
committed
Enable RCS1036 (remove unnecessary blank line) and fix violations. Well, actually not enable it because it's stupid to flag a run of two blank lines between groups of methods.
1 parent 7a5b597 commit dae548b

File tree

169 files changed

+2
-259
lines changed

Some content is hidden

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

169 files changed

+2
-259
lines changed

src/BizHawk.Bizware.Graphics/BitmapBuffer.cs

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

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

620619
}

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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,5 +804,4 @@ public void SetFrame(int frame) { }
804804
public bool UsesVideo => true;
805805
}
806806

807-
808807
}

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/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>

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ private void TimerProcess(object o1, EventArgs e1)
3131
_once = true;
3232
PerformClick();
3333
}
34-
3534
}
3635

3736
protected override void OnClick(EventArgs e)
@@ -80,6 +79,5 @@ public int RepeatDelay
8079
}
8180
}
8281
}
83-
8482
}
8583
}

0 commit comments

Comments
 (0)