diff options
author | BARATTERO Laurent <laurent@larueluberlu.net> | 2014-01-21 11:20:54 +0100 |
---|---|---|
committer | BARATTERO Laurent <laurent@larueluberlu.net> | 2014-01-21 11:20:54 +0100 |
commit | 29f52ab12fbc113111b5d6f478b9e673eac264a6 (patch) | |
tree | bcf11922a03cbe35a0564c1fa87bb1870195ca78 | |
parent | d8eb82a5499cb8a4112f6854405dc87523e39aa1 (diff) |
cleaning
-rw-r--r-- | src/symlink.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/symlink.cpp b/src/symlink.cpp index 81fe7ec..54ca9e5 100644 --- a/src/symlink.cpp +++ b/src/symlink.cpp @@ -65,16 +65,11 @@ Symlink::getSym(std::string serial_str) ss << std::hex << serial_str ; ss >> serialNumber; - // comment - //std::cout << serial_str; - //std::cout << serialNumber; - if((serialNumber & 0xffff0000) != 0) Symlink::badSerNum(); id_prob = ((PROB_MASK & serialNumber) >> 8 ); num = (NUM_MASK & serialNumber); - ss << num; std::string x; @@ -84,8 +79,6 @@ Symlink::getSym(std::string serial_str) // now we use serial_str for output serial_str = Symlink::whatProp(id_prob); serial_str += std::to_string(num); - - //std::cout << serial_str; return serial_str; } |