Skip to content

Commit 1674487

Browse files
oscmain: remove unnecessary commented lines
Signed-off-by: Cristina Suteu <[email protected]>
1 parent 2c37c95 commit 1674487

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Diff for: oscmain.c

-3
Original file line numberDiff line numberDiff line change
@@ -208,15 +208,13 @@ gint main (int argc, char **argv)
208208
while ((c = getopt (argc, argv, "c:p:u:")) != -1)
209209
switch (c) {
210210
case 'c':
211-
//ctx = iio_create_network_context(optarg);
212211
ctx = iio_create_context(NULL, optarg);
213212
if (!ctx) {
214213
printf("Failed connecting to remote device: %s\n", optarg);
215214
exit(-1);
216215
}
217216
break;
218217
case 'u':
219-
//ctx = iio_create_context_from_uri(optarg);
220218
ctx = iio_create_context(NULL, optarg);
221219
if (!ctx) {
222220
printf("Failed connecting to remote device: %s\n", optarg);
@@ -254,7 +252,6 @@ gint main (int argc, char **argv)
254252
if (!ctx_destroyed_by_do_quit) {
255253
if (!ctx)
256254
connect_dialog(false);
257-
// !!!!!!!
258255
create_default_plot();
259256
if (c == 0) {
260257
if (gtk_check_menu_item_get_active(

0 commit comments

Comments
 (0)