File tree 3 files changed +3
-8
lines changed
3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,6 @@ namespace xcpp
160
160
tagfile = it->at (" tagfile" );
161
161
std::string filename = tagfiles_dir + " /" + tagfile;
162
162
pugi::xml_document doc;
163
- pugi::xml_parse_result result = doc.load_file (filename.c_str ());
164
163
class_member_predicate predicate{typename_, " function" , method[2 ]};
165
164
auto node = doc.find_node (predicate);
166
165
if (!node.empty ())
@@ -194,7 +193,6 @@ namespace xcpp
194
193
tagfile = it->at (" tagfile" );
195
194
std::string filename = tagfiles_dir + " /" + tagfile;
196
195
pugi::xml_document doc;
197
- pugi::xml_parse_result result = doc.load_file (filename.c_str ());
198
196
for (auto c : check)
199
197
{
200
198
node_predicate predicate{c, find_string};
Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ namespace xcpp
282
282
}
283
283
284
284
nl::json interpreter::execute_request_impl (
285
- int execution_counter,
285
+ int /* execution_counter*/ ,
286
286
const std::string& code,
287
287
bool silent,
288
288
bool /* store_history*/ ,
@@ -414,7 +414,7 @@ namespace xcpp
414
414
return kernel_res;
415
415
}
416
416
417
- nl::json interpreter::complete_request_impl (const std::string& code, int cursor_pos)
417
+ nl::json interpreter::complete_request_impl (const std::string& /* code*/ , int cursor_pos)
418
418
{
419
419
return xeus::create_complete_reply (
420
420
nl::json::array (), /* matches*/
@@ -436,7 +436,7 @@ namespace xcpp
436
436
return kernel_res;
437
437
}
438
438
439
- nl::json interpreter::is_complete_request_impl (const std::string& code)
439
+ nl::json interpreter::is_complete_request_impl (const std::string& /* code*/ )
440
440
{
441
441
return xeus::create_is_complete_reply (" complete" , " " );
442
442
}
Original file line number Diff line number Diff line change @@ -32,8 +32,6 @@ namespace xcpp
32
32
std::smatch to_execute;
33
33
std::regex_search (code, to_execute, re);
34
34
35
- int ret = 1 ;
36
-
37
35
// Redirection of stderr to stdout
38
36
std::string command = to_execute.str (1 ) + " 2>&1" ;
39
37
@@ -45,7 +43,6 @@ namespace xcpp
45
43
if (shell_result)
46
44
{
47
45
char buff[512 ];
48
- ret = 0 ;
49
46
while (fgets (buff, sizeof (buff), shell_result))
50
47
{
51
48
std::cout << buff;
You can’t perform that action at this time.
0 commit comments