Skip to content

Commit 53c0b95

Browse files
Merge pull request #4751 from Rageking8/remove-extraneous-empty-lines
Remove extraneous empty lines
2 parents 4ac7b19 + 78306e7 commit 53c0b95

20 files changed

+0
-21
lines changed

docs/c-runtime-library/reference/chdir-wchdir.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ For more compatibility information, see [Compatibility](../compatibility.md).
7878
7979
int main( int argc, char *argv[] )
8080
{
81-
8281
if(_chdir( argv[1] ) )
8382
{
8483
switch (errno)

docs/c-runtime-library/reference/chmod-wchmod.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ void set_mode_and_report(char * filename, int mask)
114114
115115
int main( void )
116116
{
117-
118117
// Create or append to a file.
119118
system( "echo /* End of file */ >> crt_chmod.c_input" );
120119

docs/c-runtime-library/reference/cputs-cputws.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ void wprint_to_console(wchar_t* wbuffer)
106106

107107
int main()
108108
{
109-
110109
// String to print at console.
111110
// Notice the \r (return) character.
112111
char* buffer = "Hello world (courtesy of _cputs)!\r\n";

docs/c-runtime-library/reference/pipe.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ enum PIPES { READ, WRITE }; /* Constants 0 and 1 for READ and WRITE */
105105

106106
int main( int argc, char *argv[] )
107107
{
108-
109108
int fdpipe[2];
110109
char hstr[20];
111110
int pid, problem, c;

docs/code-quality/c6014.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ const int TEST_DATA [ARRAYSIZE] = {10,20,30,40,50,60,70,80,90,100};
9797

9898
void f( )
9999
{
100-
101100
unique_ptr<int[]> p(new int[ARRAYSIZE]);
102101
std::copy(begin(TEST_DATA), end(TEST_DATA), p.get());
103102

docs/cpp/class-templates.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ using namespace std;
8383

8484
class X
8585
{
86-
8786
template <class T>
8887
struct Y
8988
{

docs/cpp/codesnippet/CPP/how-to-create-and-use-ccomptr-and-ccomqiptr-instances_1.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
void CComPtrDemo()
22
{
3-
43
HRESULT hr = CoInitialize(NULL);
54

65
// Declare the smart pointer.

docs/cpp/codesnippet/CPP/how-to-create-and-use-ccomptr-and-ccomqiptr-instances_3.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
void COMAutomationSmartPointerDemo()
22
{
3-
43
CComPtr<IDispatch> pWord;
54
CComQIPtr<IDispatch, &IID_IDispatch> pqi = pWord;
65
CComDispatchDriver pDriver = pqi;

docs/cpp/examples-of-lambda-expressions.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Because a lambda expression is typed, you can assign it to an **`auto`** variabl
2323

2424
int main()
2525
{
26-
2726
using namespace std;
2827

2928
// Assign the lambda expression that adds two numbers to an auto variable.

docs/cpp/function-overloading.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,6 @@ using namespace std;
401401

402402
class C
403403
{
404-
405404
public:
406405
C() {/*expensive initialization*/}
407406
vector<unsigned> get_data() &

docs/cpp/if-else-statement-cpp.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ int getValue() { return 42; }
131131

132132
int main()
133133
{
134-
135134
if (auto it = m.find(10); it != m.end())
136135
{
137136
cout << it->second << "\n";

docs/cpp/raw-pointers.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ void func(int arr[], int length)
150150
151151
int main()
152152
{
153-
154153
int i[5]{ 1,2,3,4,5 };
155154
// sizeof(i) = total bytes
156155
int j = sizeof(i) / sizeof(i[0]);
@@ -170,7 +169,6 @@ using namespace std;
170169

171170
int main()
172171
{
173-
174172
BITMAPINFOHEADER header;
175173
header.biHeight = 100; // Multiple of 4 for simplicity.
176174
header.biWidth = 100;

docs/standard-library/algorithm-functions.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5091,7 +5091,6 @@ void PrintResult(const string& msg, const pair<vector<int>::iterator, vector<int
50915091

50925092
int main()
50935093
{
5094-
50955094
vector<int> vec_1{ 0, 5, 10, 15, 20, 25 };
50965095
vector<int> vec_2{ 0, 5, 10, 15, 20, 25, 30 };
50975096

docs/standard-library/bitset-operators.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ The template function extracts elements from *i_str* and inserts them into the b
162162
using namespace std;
163163
int main()
164164
{
165-
166165
bitset<5> b1;
167166
cout << "Enter string of (0 or 1) bits for input into bitset<5>.\n"
168167
<< "Try bit string of length less than or equal to 5,\n"

docs/standard-library/function-class.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ private:
225225

226226
int main()
227227
{
228-
229228
typedef std::vector< std::function<int (int)> > vf_t;
230229

231230
vf_t v;

docs/standard-library/map-class.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1434,7 +1434,6 @@ template <typename M> void print(const M& m) {
14341434

14351435
int main()
14361436
{
1437-
14381437
// insert single values
14391438
map<int, int> m1;
14401439
// call insert(const value_type&) version

docs/standard-library/multimap-class.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,6 @@ template <typename M> void print(const M& m) {
12461246

12471247
int main()
12481248
{
1249-
12501249
// insert single values
12511250
multimap<int, int> m1;
12521251
// call insert(const value_type&) version

docs/standard-library/multiset-class.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,6 @@ template <typename S> void print(const S& s) {
11951195

11961196
int main()
11971197
{
1198-
11991198
// insert single values
12001199
multiset<int> s1;
12011200
// call insert(const value_type&) version

docs/standard-library/set-class.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1327,7 +1327,6 @@ template <typename S> void print(const S& s) {
13271327

13281328
int main()
13291329
{
1330-
13311330
// insert single values
13321331
set<int> s1;
13331332
// call insert(const value_type&) version

docs/standard-library/utility-functions.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ For the overloads that don't have an `Index` parameter, the element to return is
198198
using namespace std;
199199
int main()
200200
{
201-
202201
typedef pair<int, double> MyPair;
203202

204203
MyPair c0(9, 3.14);

0 commit comments

Comments
 (0)