Skip to content

Commit

Permalink
Fix inconsistent var names (#4157)
Browse files Browse the repository at this point in the history
  • Loading branch information
ev-mp committed Jun 23, 2019
1 parent 2740bbc commit be9c849
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/realsense-viewer/realsense-viewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ void refresh_devices(std::mutex& m,
}
}

int main(int argv, const char** argc) try
int main(int argc, const char** argv) try
{
rs2::log_to_console(RS2_LOG_SEVERITY_WARN);

Expand Down Expand Up @@ -252,11 +252,11 @@ int main(int argv, const char** argc) try
}
};

for (int i = 1; i < argv; i++)
for (int i = 1; i < argc; i++)
{
try
{
const char* arg = argc[i];
const char* arg = argv[i];
std::ifstream file(arg);
if (!file.good())
continue;
Expand Down

0 comments on commit be9c849

Please sign in to comment.