Commit 68bd9ab9 authored by Guolin Ke's avatar Guolin Ke
Browse files

some warning fix

parent 1c774687
...@@ -89,4 +89,4 @@ inline void Application::Run() { ...@@ -89,4 +89,4 @@ inline void Application::Run() {
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_APPLICATION_H_ #endif // LightGBM_APPLICATION_H_
...@@ -306,4 +306,4 @@ inline unsigned int BinMapper::ValueToBin(double value) const { ...@@ -306,4 +306,4 @@ inline unsigned int BinMapper::ValueToBin(double value) const {
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_BIN_H_ #endif // LightGBM_BIN_H_
...@@ -95,4 +95,4 @@ public: ...@@ -95,4 +95,4 @@ public:
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_BOOSTING_H_ #endif // LightGBM_BOOSTING_H_
...@@ -329,4 +329,4 @@ struct ParameterAlias { ...@@ -329,4 +329,4 @@ struct ParameterAlias {
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_CONFIG_H_ #endif // LightGBM_CONFIG_H_
...@@ -395,4 +395,4 @@ private: ...@@ -395,4 +395,4 @@ private:
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_DATA_H_ #endif // LightGBM_DATA_H_
...@@ -128,4 +128,4 @@ private: ...@@ -128,4 +128,4 @@ private:
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_FEATURE_H_ #endif // LightGBM_FEATURE_H_
...@@ -27,4 +27,4 @@ using ReduceFunction = std::function<void(const char*, char*, int)>; ...@@ -27,4 +27,4 @@ using ReduceFunction = std::function<void(const char*, char*, int)>;
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_META_H_ #endif // LightGBM_META_H_
...@@ -118,4 +118,4 @@ private: ...@@ -118,4 +118,4 @@ private:
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_METRIC_H_ #endif // LightGBM_METRIC_H_
...@@ -184,4 +184,4 @@ inline int Network::num_machines() { ...@@ -184,4 +184,4 @@ inline int Network::num_machines() {
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_NETWORK_H_ #endif // LightGBM_NETWORK_H_
...@@ -50,4 +50,4 @@ public: ...@@ -50,4 +50,4 @@ public:
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_OBJECTIVE_FUNCTION_H_ #endif // LightGBM_OBJECTIVE_FUNCTION_H_
...@@ -173,4 +173,4 @@ inline int Tree::GetLeaf(const double* feature_values) const { ...@@ -173,4 +173,4 @@ inline int Tree::GetLeaf(const double* feature_values) const {
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_TREE_H_ #endif // LightGBM_TREE_H_
...@@ -60,4 +60,4 @@ public: ...@@ -60,4 +60,4 @@ public:
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_TREE_LEARNER_H_ #endif // LightGBM_TREE_LEARNER_H_
...@@ -112,5 +112,5 @@ public: ...@@ -112,5 +112,5 @@ public:
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_UTILS_ARRAY_AGRS_H_ #endif // LightGBM_UTILS_ARRAY_AGRS_H_
...@@ -264,4 +264,4 @@ static inline int64_t Pow2RoundUp(int64_t x) { ...@@ -264,4 +264,4 @@ static inline int64_t Pow2RoundUp(int64_t x) {
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_UTILS_COMMON_FUN_H_ #endif // LightGBM_UTILS_COMMON_FUN_H_
...@@ -46,4 +46,4 @@ public: ...@@ -46,4 +46,4 @@ public:
" at %s, line %d .\n", __FILE__, __LINE__); " at %s, line %d .\n", __FILE__, __LINE__);
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_UTILS_LOG_H_ #endif // LightGBM_UTILS_LOG_H_
...@@ -67,4 +67,4 @@ public: ...@@ -67,4 +67,4 @@ public:
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_UTILS_PIPELINE_READER_H_ #endif // LightGBM_UTILS_PIPELINE_READER_H_
...@@ -74,4 +74,4 @@ private: ...@@ -74,4 +74,4 @@ private:
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_UTILS_RANDOM_H_ #endif // LightGBM_UTILS_RANDOM_H_
...@@ -264,5 +264,5 @@ private: ...@@ -264,5 +264,5 @@ private:
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_UTILS_TEXT_READER_H_ #endif // LightGBM_UTILS_TEXT_READER_H_
...@@ -35,4 +35,4 @@ public: ...@@ -35,4 +35,4 @@ public:
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_UTILS_THREADING_H_ #endif // LightGBM_UTILS_THREADING_H_
...@@ -184,4 +184,4 @@ private: ...@@ -184,4 +184,4 @@ private:
} // namespace LightGBM } // namespace LightGBM
#endif #endif // LightGBM_PREDICTOR_HPP_ #endif // LightGBM_PREDICTOR_HPP_
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment