{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":861276283,"defaultBranch":"main","name":"btop","ownerLogin":"bad-co-de","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2024-09-22T13:26:41.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/180351659?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1727017213.0","currentOid":""},"activityList":{"items":[{"before":null,"after":"1454472d990ea2b2dc41e895cb402b9e0319af40","ref":"refs/heads/opt","pushedAt":"2024-09-22T15:00:13.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"bad-co-de","name":null,"path":"/bad-co-de","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/180351659?s=80&v=4"},"commit":{"message":"Avoid copies in ltrim() and ltrim()","shortMessageHtmlLink":"Avoid copies in ltrim() and ltrim()"}},{"before":null,"after":"4b3410b32c13ed3d50b6ae4806c57fb65173b13c","ref":"refs/heads/compiler","pushedAt":"2024-09-22T14:05:44.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"bad-co-de","name":null,"path":"/bad-co-de","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/180351659?s=80&v=4"},"commit":{"message":"Mark destructor noexcept and satisfy rule-of-five\n\nFollow the RAII paradigm and define all 5 special class function if any\nof them has a non-default implementation. Avoids duplicate destruction\nor other unwanted effects.","shortMessageHtmlLink":"Mark destructor noexcept and satisfy rule-of-five"}},{"before":"7a9758b27dc4b578be2be55e93d7b6142c25f419","after":"d4f5919048941223b064b92507cf644ae78ae002","ref":"refs/heads/fixes","pushedAt":"2024-09-22T13:35:39.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"bad-co-de","name":null,"path":"/bad-co-de","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/180351659?s=80&v=4"},"commit":{"message":"Avoid potential uninitialzed variables\n\nReported-by clang:\n\n src/linux/btop_collect.cpp:489:10: error: variable 'high' may be uninitialized when used here [-Werror,-Wconditional-uninitialized]\n 489 | if (high < 1) high = 80;\n | ^~~~\n src/linux/btop_collect.cpp:482:18: note: initialize the variable 'high' to silence this warning\n 482 | int64_t high, crit;\n | ^\n | = 0\n src/linux/btop_collect.cpp:490:10: error: variable 'crit' may be uninitialized when used here [-Werror,-Wconditional-uninitialized]\n 490 | if (crit < 1) crit = 95;\n | ^~~~\n src/linux/btop_collect.cpp:482:24: note: initialize the variable 'crit' to silence this warning\n 482 | int64_t high, crit;\n | ^\n | = 0\n src/linux/btop_collect.cpp:1648:29: error: variable 'totalMem' may be uninitialized when used here [-Werror,-Wconditional-uninitialized]\n 1648 | if (not meminfo.good() or totalMem == 0)\n | ^~~~~~~~\n src/linux/btop_collect.cpp:1642:19: note: initialize the variable 'totalMem' to silence this warning\n 1642 | int64_t totalMem;\n | ^\n | = 0","shortMessageHtmlLink":"Avoid potential uninitialzed variables"}},{"before":null,"after":"7a9758b27dc4b578be2be55e93d7b6142c25f419","ref":"refs/heads/fixes","pushedAt":"2024-09-22T13:32:17.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"bad-co-de","name":null,"path":"/bad-co-de","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/180351659?s=80&v=4"},"commit":{"message":"Avoid potential uninitialzed variables\n\nReported-by clang:\n\n src/linux/btop_collect.cpp:489:10: error: variable 'high' may be uninitialized when used here [-Werror,-Wconditional-uninitialized]\n 489 | if (high < 1) high = 80;\n | ^~~~\n src/linux/btop_collect.cpp:482:18: note: initialize the variable 'high' to silence this warning\n 482 | int64_t high, crit;\n | ^\n | = 0\n src/linux/btop_collect.cpp:490:10: error: variable 'crit' may be uninitialized when used here [-Werror,-Wconditional-uninitialized]\n 490 | if (crit < 1) crit = 95;\n | ^~~~\n src/linux/btop_collect.cpp:482:24: note: initialize the variable 'crit' to silence this warning\n 482 | int64_t high, crit;\n | ^\n | = 0\n src/linux/btop_collect.cpp:1648:29: error: variable 'totalMem' may be uninitialized when used here [-Werror,-Wconditional-uninitialized]\n 1648 | if (not meminfo.good() or totalMem == 0)\n | ^~~~~~~~\n src/linux/btop_collect.cpp:1642:19: note: initialize the variable 'totalMem' to silence this warning\n 1642 | int64_t totalMem;\n | ^\n | = 0","shortMessageHtmlLink":"Avoid potential uninitialzed variables"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0yMlQxNTowMDoxMy4wMDAwMDBazwAAAAS9Os8D","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0yMlQxNTowMDoxMy4wMDAwMDBazwAAAAS9Os8D","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0yMlQxMzozMjoxNy4wMDAwMDBazwAAAAS9MbZs"}},"title":"Activity ยท bad-co-de/btop"}